Easy way to create SSL certificates

Sun 29 January 2012 by admin

Everytime I have to create CSR or self-signed SSL certificate, I need to know complex syntax of openssl. Lately I've found easy solution to this drawback. RedHat Linux distributions all have in common dir /etc/pki which include all generated, installed keys. In location /etc/pki/tls/certs we have a simple Makefile i.e. make yourcert.pem it generates self-signed certificate and key in one yourcert.pem file and setup right selinux types of its.  More examples are included in this Makefile.