URL of the SSL certificate requested: https://www.pianyissl.com/
Because it is a test, select free to try
There will be a compressed package after the application.
There is a Nginx folder, put the following
Server.key
Server.pem
These two files are uploaded to the server.
In this I'm moving these two files into the/usr/local/nginx/conf directory
Parameters are required for server-side compilation of Nginx
./configure--user=www--group=www--prefix=/usr/local/nginx--with-http_stub_status_module --with-http_ssl_ Module --with-http_gzip_static_module--with-ipv6
Make && make install
For nginx configuration HTTPS configuration, append the following content
# HTTPS Server
server {
Listen 443;
server_name apk.moootooo.com;
SSL on;
Ssl_certificate Server.pem;
Ssl_certificate_key Server.key;
Ssl_session_timeout 5m;
Ssl_protocols SSLv3 TLSv1;
Ssl_ciphers high:! Adh:! Export56:rc4+rsa:+medium;
Ssl_prefer_server_ciphers on;
Location/{
root HTML;
Index index.html index.htm;
}
}
Nginx Configure SSL Certificate