How to create Self Signed Certificates
.....or a blatant plagerism from the O'Reilly LDAP book edited down to the bare minimum.
/usr/lib/ssl/misc/CA.pl -newcert
/usr/bin/openssl rsa -in newreq.pem -out newkey.pem
mv newkey.pem serverkey.pem
Edit newreq.pem and remove the “key” section. Leaving in the “cert” section.
mv newreq.pem servercert.pem
chmod 600 serverkey.pem