self-signed certificates

chris (2003-01-21 10:02:20)
0 replies
I had to generate a self signed crt this morning.. and just to save searching in the future, here\'s a couple of notes on how to do it.. it\'s quite a simple process.

1) Generate the key
openssl genrsa -des3 -out 1024

2) Generate the certificate
openssl req -new -key -x509 -out

3) ensure the httpd.conf points to the key and crt files
SSLCertificateFile /path/to/ssl.crt/
SSLCertificateKeyFile /path/to/ssl.key/

4) build modssl with the above key and crt files

5) start the ssl server and hope...
/usr/local/apache/bin/apachectl startssl