jntass / TASSL-1.1.1b

此仓库已停止维护,请移步https://github.com/jntass/TASSL-1.1.1
http://www.tass.com.cn
Other
138 stars 67 forks source link

fix 'openssl s_client' cannot connect to cntls server #37

Closed kaiwen closed 2 years ago

kaiwen commented 4 years ago

./openssl s_client -connect xxxx:xx -cert ../tassl_demo/cert/certs/CS.pem -cert_enc ../tassl_demo/cert/certs/CE.pem 使用国密连接的时候无法正常使用国密协议,原因是SSL_CTX_use_enc_certificate_file被写成了SSL_CTX_use_certificate_file,另外key_enc_filecert_enc_file有误,已经调换