Trust Properties of the Realm Connect Method

In an enterprise with TLS security, client applications must trust the FTL server. Properties of the realm connect method specify the behavior of this interaction.

  • TIB_REALM_PROPERTY_LONG_TRUST_TYPE - This property indicates the way that the client determines trust in the FTL server. Its value is one of the following constants:
    • HTTPS_CONNECTION_USE_SPECIFIED_TRUST_FILE - The client trusts the FTL server based on the trust file created by the FTL server and distributed by the administrator. Specify the file path of the trust file in an adjunct parameter, TIB_REALM_PROPERTY_STRING_TRUST_FILE.
    • HTTPS_CONNECTION_USE_SPECIFIED_TRUST_STRING - The client trusts the FTL server based a trust string. Specify that data content in an adjunct parameter, TIB_REALM_PROPERTY_STRING_TRUST_PEM_STRING.
    • HTTPS_CONNECTION_TRUST_EVERYONE - The client trusts any FTL server without verifying trust in the server's certificate.
      Warning: Do not use this value except for convenience in development and testing. It is not secure.
  • TIB_REALM_PROPERTY_STRING_TRUST_FILE - The string value of this property is the file path of the trust file.
  • TIB_REALM_PROPERTY_STRING_TRUST_PEM_STRING - The string value of this property is the trust string in PEM format.

The names of properties and constants vary slightly among the languages that the API supports.