从.Net Web应用程序通过SSL证书连接到DB2数据库时出错

时间:2018-04-02 12:27:14

标签: c# ssl db2

在我的.Net Web应用程序中通过SSL证书(ODBC连接)连接到DB2数据库时。我收到了以下错误:

Error:ERROR [08001] [IBM][CLI Driver] SQL30081N  A communication error has been detected. Communication protocol being used: "SSL".  Communication API being used: "SOCKETS".  Location where the error was detected: "".  Communication function detecting the error: "sqlccSSLSocketSetup".  Protocol specific error code(s): "410", "*", "*".  SQLSTATE=08001

我的连接字符串:

Driver={IBM DB2 ODBC DRIVER};DATABASE=***;HOSTNAME=***.COM;Port=442;
UID=****;Security=SSL;Authentication=certificate;PROTOCOL=TCPIP;
SSLClientLabel=*****;
Ssl_client_keystoredb=C:\Test\samples\GSK8\pr_test.kdb;
Ssl_client_keystash=C:\Test\samples\GSK8\pr_test.sth;

0 个答案:

没有答案