User Tools

Site Tools



Creating your own SSL Certificates

Change directory into where your certs will live first

cd /etc/httpd/certs/[domain_name]/

Make a Key with no passphrase, and fix the permissions for security

openssl genrsa 1024 > server.key
chmod go-rwx /etc/httpd/conf/ssl.key/server.key

Make Certificate Signing Request

openssl req -new -key  server.key > server.csr

Sign the Certificate Signing Request to create your SSL Cert

openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
guides/unix_admin/creating_your_own_certs.txt · Last modified: 2009/08/22 00:55 (external edit)