5 minutes to complete the nginx SSL configuration

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

1 Preparation of the environment

Downloadopenssl for windows

The 2 generation of certificate

openssl genrsa -des3 -out openssl.key 1024

openssl req -new -x509 -key openssl.key -out openssl.crt -days 3650

openssl rsa -in openssl.key -out openssl_nopass.key

Specific operation

 

Error : Unable to load config info from /usr/local/ssl/openssl.cnf

Download: openssl.conf parameters using -config openssl.conf is specified

 

Certificate file



 

The 3.nginx configuration SSL


 

 

4 Results



Complete! 

 

Linux and windows configuration almost.

 

You can use the OpenSSL self certification, certification of commercial need to use third party agencies

openssl req -new -key openssl.key -out openssl.csr

 

openssl x509 -req -days 3650 -in openssl.csr -CA openssl.crt -CAkey openssl.key -CAcreateserial -out openssl.crt 

 

 

Reference:

Zhang Yan: Global trust and the only free HTTPS (SSL) Certificate Authority: StartSSL

Free OpenSSL to generate SSL certificate [ssl generation.

How to use OpenSSL to create a certificate

 

 

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Clifford at December 09, 2013 - 5:43 PM