Generate and sign your own webserver certificate

5/ 1/2013
openssl genrsa -des3 -out server.key 2048
openssl rsa -in server.key -out server.key.decrypted
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

(remove passphrase from key):
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key

Leave Comment