ssl_verify_client off;# for one-way https … location /{ root html; index index.html index.htm; 参数说明: ssl_certificate:配置签名证书文件,带绝对路径。 ssl_certificate_key:配置存储签名私钥的索引号。 ssl_enc_certificate:配置加密证书文件,带绝对路径。
ssl_verify_client off;# for one-way https … location /{ root html; index index.html index.htm; 参数说明: ssl_certificate:配置签名证书文件,带绝对路径。 ssl_certificate_key:配置存储签名私钥的索引号。 ssl_enc_certificate:配置加密证书文件,带绝对路径。 ssl_enc_certificate_key:配置存储加密私钥的...
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_certificate /usr/local/nginx/certs/sm2.test.sig.crt.pem; ssl_certificate_key /usr/local/nginx/certs/sm2.test.sig.key.pem; ssl_certificate /usr/local/nginx/certs/sm2.test.enc.crt.pem; ssl_certificate_key /usr/local/nginx/certs/sm2.test.enc.key...
ssl_verify_client off; ssl_certificate /usr/local/nginx/conf/sm2.lutao.info.sig.crt.pem; ssl_certificate_key /usr/local/nginx/conf/sm2.lutao.info.sig.key.pem; ssl_certificate /usr/local/nginx/conf/sm2.lutao.info.enc.crt.pem; ssl_certificate_key /usr/local/nginx/conf/sm2.lutao.info.enc...
ssl_certificate_key /opt/nginx/gmkey/sm2.sig.key.pem; ssl_certificate /opt/nginx/gmkey/sm2.enc.crt.pem; ssl_certificate_key /opt/nginx/gmkey/sm2.enc.key.pem; location / { root html; index index.html index.htm; } } 1. 2.
ssl_certificate/root/sm2.demo1/sm2.demo1.gmssl.cn.enc.crt.pem; ssl_certificate_key/root/sm2.demo1/sm2.demo1.gmssl.cn.enc.key.pem; location / { root html; index index.html index.htm; } } 2)测试 /usr/local/nginx/sbin/nginx-t ...
openssl enc -d -des3 -a -salt -in/tmp/fstab.cipher -out/path/to/fstab.cipher 解密 一.用openssl生成相关文件 1.先生成私钥key openssl genrsa -outssl.key2048 2.生成证书请求csr,其中days参数是证书有效期. openssl req -new-keyssl.key-days3650-out ssl.csr ...
ssl_verify_client off; ssl_certificate/root/sm2.demo1/sm2.demo1.gmssl.cn.sig.crt.pem; ssl_certificate_key/root/sm2.demo1/sm2.demo1.gmssl.cn.sig.key.pem; ssl_certificate/root/sm2.demo1/sm2.demo1.gmssl.cn.enc.crt.pem; ssl_certificate_key/root/sm2.demo1/sm2.demo1.gmssl.cn.enc.key...
ssl_certificate /usr/local/nginx/certs/sm2.test.enc.crt.pem; ssl_certificate_key /usr/local/nginx/certs/sm2.test.enc.key.pem; #ssl_verify_client off; #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:AES128-SHA:DES-CBC3-SHA:ECC-SM4-CBC-SM3:ECC-SM4-GCM-SM3; ...
ssl_certificate /root/sm2.demo1/sm2.demo1.gmssl.cn.enc.crt.pem; ssl_certificate_key /root/sm2.demo1/sm2.demo1.gmssl.cn.enc.key.pem; location / { root html; index index.html index.htm; } } 测试 /usr/local/nginx/sbin/nginx -t OpenSSL(GM version) by www.gmssl.cn. Test Only!!!