首页 > 数据库 > 数据库开发技术 > DB2 SSL配置遇到的一个问题
配置完DB2 Server端,然后配置db2 client端,连接数据库,命令行抛出一个错误
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): "420", "*", "*".
SQLSTATE=08001
在db2diag.log抛出这样的错误
MESSAGE : DIA3604E The SSL function "gsk_secure_soc_init" failed with the
return code "402" in "sqlccSSLSocketSetup".
一番调查和求证,发现问题的原因
db2 server 端版本是 V11.1.4.4
db2 client 端版本是 10.5.0.4
我开始在db2 server端配置了 dbm cfg
(SSL_VERSIONS) = TLSV12
解决方法:
db2 update dbm cfg using SSL_VERSIONS NULL
重启DB2
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/725820/viewspace-2686983/ ,如需转载,请注明出处,否则将追究法律责任。