Programmatically generate CA root certificate using OpenSSL libcrypto.
- Install OpenSSL libraries. On Mac, use
brew install openssl. - Edit the first few lines in
Makefileto point to your OpenSSL installation. - Run
maketo build the demo executable. - Run
make testto generate a new private key and turn it into a certificate.