User Tools

Site Tools


js#vista.png msort nsort


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=*' -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.

apache2/self_signed_cert.txt · Last modified: 2020/02/24 11:16 (external edit)