nginxは無料のssl証明書を配置し、httpsの安全アクセスをサポートします。


無料ssl証明書申請
はい、http://www.wosign.com/Products/free_SSL.httmは無料のSSL証明書を申請します。
wwww.iamle.com.zipファイルをダウンロードして、ファイルを解凍して、for Nginx.zipを探して解凍して、2つのファイルを得ます。
1_wwww.iamle.combundle.crt,2_wwww.iamle.com.key
名前を変えます。wwww.iamle.com.crt、www.iamle.com.keyはサーバーにアップロードします。
SSL証明書の展開httpsサポートをNFinxで設定します。
対応するserverを見つけました。
増加
シェル
listen          443 ssl;
ssl                     on;
ssl_certificate         /usr/local/nginx/conf/ssl/www.iamle.com.crt;
ssl_certificate_key     /usr/local/nginx/conf/ssl/www.iamle.com.key;
ssl_session_timeout     5m;
ssl_protocols           TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers             ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers       on;
nginx設定を再読み込みします。root@dossl]29536;/etc/init.d/inx reload
ブラウザで信頼されているhttps://www.iamle.com もう使えます
追加
pfxをnginxに変換するために必要なcrt,key
既にpfxという拡張子の証明書がある場合は、変換して使用する必要があります。
[root@do ~]# openssl pkcs12 -in www.iamle.com.pfx -nocerts -nodes -out www.iamle.com.key
Enter Import Password:       
MAC verified OK

 

[root@do ~]# openssl pkcs12 -in www.iamle.com.pfx -clcerts -nokeys -out www.iamle.com.crt
Enter Import Password:       
MAC verified OK
2つのファイルを生成します。www.iamle.com.key、www.iamle.com.pfxを指定したディレクトリにコピーします。
参考文献
http://nginx.org/en/docs/http/configuring_https_servers.