在我的.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;