https://www.startssl.com/openssl rsa -in ssl.key -out ssl.key
wget https://www.startssl.com/certs/ca.pem wget https://www.startssl.com/certs/sub.class1.server.ca.pem cat your_cert.pem sub.class1.server.ca.pem ca.pem > new_cert.pem
server { listen 443 ssl; server_name example.org www.example.org; ssl_certificate /root/ssl/cert.pem; ssl_certificate_key /root/ssl/key.pem; ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; location / { proxy_pass http://test.example.com/; } }
$ nginx -V ... TLS SNI support enabled ... Related: Study_HTTP_Nginx Study_Security_TLS_OpenSSL_Cipher 参考资料[1]. http://www.freehao123.com/startssl-ssl/ |