Notepad:SSL

From Amar
Revision as of 18:53, 10 March 2017 by Lax (talk | contribs) (Created page with "= Self Signed Wildcard SSL certificates = == Create the wildcard SSL certification == From [https://blog.justin.kelly.org.au/how-to-create-self-signed-wildcard-ssl-certificate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Self Signed Wildcard SSL certificates

Create the wildcard SSL certification

From How to create self signed wildcard SSL certificates for Apache


Open up your terminal and execute the below commands, replacing yourdomain.com with the domain name

   mkdir /etc/ssl/wildcard.yourdomain.com
   cd /etc/ssl/wildcard.yourdomain.com/
   openssl genrsa 2048 > host.key
   openssl req -new -x509 -nodes -sha1 -days 3650 -key host.key > host.cert

For a wildcard cert enter *.yourdomain.com for Common Name. It’s the 6th option in the dialog. All other options can be left blank for defaults

   openssl x509 -noout -fingerprint -text < host.cert > host.info
   cat host.cert host.key > host.pem
   chmod 400 host.key host.pem



← Back to Notepad



<insert>googlesearchwiki</insert> <insert>paypal</insert> <insert>analytics</insert>