You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Note the two extra keywords **Security** and **SSLServerCertificate** used in connection string. `SSLServerCertificate` should point to the SSL Certificate from server or an CA signed certificate. Also, `PORT` must be `SSL` port and not the TCPI/IP port. Make sure Db2 server is configured to accept connection on SSL port else `ibm_db` will throw SQL30081N error.
111
111
112
-
> `ibm_db` uses IBM ODBC/CLI Driver for connectivity and it do not support a certificate generated in `jks` format.
113
-
`ibm_db` do not work with a `keystore.jks` file or any certificate generated for Java application. `ibm_db` works
114
-
with a certificate generate for non-Java application that can get processed by GSKit tool. If you have a `*.jks` file,
115
-
please get a SSL Certificate meant for non-Java application. If you have downloaded `IBMCertTrustStore` from IBM site,
116
-
ibm_db will not work with it; you need to download `Secure Connection Certificates.zip` file that comes for IBM
117
-
DB2 Command line tool(CLP).
112
+
> Value of `SSLServerCertificate` keyword must be full path of a certificate file generated for client authentication.
113
+
It normally has `*.arm` or `*.cert` or `*.pem` extension. `ibm_db` do not support `*.jks` format file as it is not a
114
+
certificate file but a Java KeyStore file, extract certificate from it using keytool and then use the cert file.
115
+
116
+
> `ibm_db` uses IBM ODBC/CLI Driver for connectivity and it do not support a `*.jks` file as keystoredb as `keystore.jks` is meant for Java applications.
117
+
Note that `*.jks` file is a `Java Key Store` file and it is not an SSL Certificate file. You can extract SSL certificate from JKS file using below `keytool` command:
> Value of `SSLServerCertificate` keyword must be full path of a certificate generated for non-Java application on
137
-
Db2 Server. It normally has `*.arm` or `*.cert` or `*.pem` extension. `ibm_db` do not support `jks` format
138
-
certificate file.
139
-
140
-
You can also create a KeyStore DB using GSKit command line tool and use it in connection string along with other keywords as documented in [DB2 Infocenter](http://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.admin.sec.doc/doc/t0053518.html).
135
+
**Note:** You can also create a KeyStore DB using GSKit command line tool and use it in connection string along with other keywords as documented in [DB2 Infocenter](http://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.admin.sec.doc/doc/t0053518.html).
141
136
142
137
If you have created a KeyStore DB using GSKit using password or you have got *.kdb file with *.sth file, use
**Note:** You can also create keystoredb using GSKit and add certificate file to keystoredb to use as documented in [DB2 Infocenter](http://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.admin.sec.doc/doc/t0053518.html).
147
+
> If you have downloaded `IBMCertTrustStore` from IBM site, ibm_db will not work with it; you need to
148
+
download `Secure Connection Certificates.zip` file that comes for IBM DB2 Command line tool(CLP).
149
+
`Secure Connection Certificates.zip` has *.kdb and *.sth files that should be used as the value of
150
+
`SSLClientKeystoreDB` and `SSLClientKeystash` in connection string.
0 commit comments