Secure Sockets Layer

From Organic Design
Revision as of 09:37, 1 April 2009 by Rob (talk | contribs) (Created page with '{{code|<pre> mkdir /var/www/ssl cd /var/www/ssl openssl req -new -newkey rsa:1024 -days 3650 -nodes -x509 -keyout organicdesign.co.nz.pem -out organicdesign.co.nz.pem </pre>}} ...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
mkdir /var/www/ssl
cd /var/www/ssl
openssl req -new -newkey rsa:1024 -days 3650 -nodes -x509 -keyout organicdesign.co.nz.pem -out organicdesign.co.nz.pem


Ensure the common name (cn) is entered as

*.organicdesign.co.nz


Open the pem in a text editor and separate the key and cert into two files

/var/www/ssl/organicdesign.co.nz.crt
/var/www/ssl/organicdesign.co.nz.key
chown www-data organicdesign.co.nz *