How To Create a Self-Signed SSL Certificate for Nginx and redirect all HTTP to HTTPS

https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-16-04

 

Note:- to save time in generating dhparam

openssl dhparam -dsaparam -out /etc/ssl/private/dhparam.pem 4096

Leave a Reply

Your email address will not be published. Required fields are marked *

Confirm that you are not a bot - select a man with raised hand: