self signed ssl

To generate self signed SSL certificate, run

Or use following 2 commands

Add Self Signed SSL to Apache Virtual Host

Lets say your Apache virtualhost entry is

Create a new VirtualHost entry based on this, say yourdomain-ssl.conf, in this new file


Replace with

Find line starting with

Add Below

Now restart Apache


Add a Comment

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