Closed kaiwen closed 2 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_file和cert_enc_file有误,已经调换
./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_file
cert_enc_file
./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_file
和cert_enc_file
有误,已经调换