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