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


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: