Use SSLCA parameter to specify the path to a file containing OpenSSL compatible PEM encoded trusted certificates.
This parameter can be set using the following methods:
- clispb.dat
- Environment variable
- Connection string
clispb.dat
Add the following line to clispb.dat:
sslca=<path to file>Environment Variable
Before executing the client application, set the SSLCA environment variable to the operating system specific path to the PEM encoded certificate file:
Non-Windows:
$ export SSLCA=<path to file>Windows:
C:\> set SSLCA=<path to file>Connection String
To specify the operating system specific path to the PEM encoded certificate file, use the following connection string parameter:
nulldbcarea.connect_ptr = ”sslmode=verify-full;sslca=<path to file>”