HOW TO: Apache self signed SSL certificate

Primary tabs

HOW TO: Apache self signed SSL certificate

Topic: 
System Administration

To create a self-signed SSL certificate, which will last 4 years:

openssl genrsa -out server.key 1024
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 1460 -in server.csr -signkey server.key -out server.crt

security: