Difference between revisions of "Secure Sockets Layer"

From Organic Design
Jump to: navigation, search
(not cat installation or procedures)
m (add cat)
Line 1: Line 1:
{{code|<pre>
+
[[Category:Sysop procedures]]{{code|<pre>
 
mkdir /var/www/ssl
 
mkdir /var/www/ssl
 
cd /var/www/ssl
 
cd /var/www/ssl

Revision as of 07:45, 21 June 2009

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 *