Difference between revisions of "SSL certifiate installation Debian"

From Tech
Jump to navigationJump to search
Line 1: Line 1:
 
* [http://danieljamesscott.org/10-articles/configuration-guides/21-ssl-certificate-csr-generation.html]
 
* [http://danieljamesscott.org/10-articles/configuration-guides/21-ssl-certificate-csr-generation.html]
cd /etc
+
cd /etc/apache2/
 
mv certs certs-old
 
mv certs certs-old
 
mkdir certs
 
mkdir certs
cd /etc/certs
+
cd certs
 
openssl genrsa -out ssl.key 2048
 
openssl genrsa -out ssl.key 2048
 
chmod 600 ssl.key
 
chmod 600 ssl.key

Revision as of 17:45, 12 April 2013

cd /etc/apache2/
mv certs certs-old
mkdir certs
cd certs
openssl genrsa -out ssl.key 2048
chmod 600 ssl.key
chown www-data:www-data ssl.key
openssl req -new -key ssl.key -out db.uea.org.csr
  #Country Name (2 letter code) [AU]:NL
  #State or Province Name (full name) [Some-State]:Zuid Holland
  #Locality Name (eg, city) []:Rotterdam
  #Organization Name (eg, company) [Internet Widgits Pty Ltd]:Universala Esperanto Asocio
  #Organizational Unit Name (eg, section) []:Centra Oficejo
  #Common Name (eg, YOUR name) []:db.uea.org
  #Email Address []:admin@co.uea.org

Give (copy-paste in text input box) the .crt file to the SSL issuing site. Goddaddy now sends a verification mail, click on the link. Then (after some clicking) .zip file with the cert can be downloaded (choose Apache)