code-tutorial.com

The best resources for developers

How do I create an SSL certificate for a web application?

openssl req -new -x509 -nodes -out server.crt -keyout server.key
SSLCertificateFile    /path/to/this/server.crt
SSLCertificateKeyFile /path/to/this/server.key
openssl rsa -des3 -in server.key -out server.key.new
mv server.key.new server.key

Tags: apache ssl

Source: By ScArcher2 as answer to the question

This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 2.5


Related code-snippets: