Table of Contents

Self signed Cert

  • topenssl req   -x509 -nodes -days 365   -newkey rsa:1024 -keyout mykey.pem -out mycer.pem

or even better

  • openssl req -x509 -nodes -days 365 -subj '/C=DE/ST=MVP/L=Schwerin/CN=*.itadmins.net' -newkey rsa:1024 -keyout mykey.pem -out mycert.pem

After you are done you can check that all is working after restarting apache by executing the following comman

  • openssl s_client -connect [IP_ADDRESS]:443

* [IP_ADDRESS] is of course the IP Address of the webserver where you just installed your cert and key.

if you see anything other than the cert and info regarding it then you have an issue that needs to be addressed.

see Creating and Using a self signed SSL Certificates in debian for info on making your own CA.

/var/customers/webs/cw01/wiki/data/pages/apache2/self_signed_cert.txt · Last modified: 2011/02/09 14:32 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki