Martin Klier


How to create a self-signed OpenSSL certificate

Hi folx, if you want to create a self-signed certificate with OpenSSL (useful for encryption-only purposes, e.g. your own mailserver) just do the following: openssl req -x509 -nodes -days 365 -subj ‘/C=DE/ST=Bayern/L=Munich/CN=www.example.com’ -newkey rsa:2048 -keyout key4cert.pem -out cert.pem It means: “-nodes” makes the key unencrypted “-days” makes it valid for n days “-subj” provides your […]

read more