certgeneration Code to generate certificates and CSRs using openssl. Works for both TLS and S/MIME certificates. This doesn't do a lot of safe things, such as encrypt private keys or check for errors. It is designed to be used for test certificates.