Goals:
- Create a functional certificate authority
- Configurable CA and server certificate generation
OS | Curl Works | Requests Works | Nginx Works |
---|---|---|---|
OSX | yes | yes | yes |
Ubuntu 22 | yes | yes | yes |
Generate certificates from config (e.g. test.yaml
):
python generate.py --config ./config/test.yaml
Regenerate certificates:
python generate.py --regenerate ...
Regenerate CA:
python generate.py --regenerate-ca ...
Test the certificate generation process:
sudo python test.py
All the tutorials and stack exchanges.
- Create Your Own SSL Certificate Authority for Local HTTPS Development
- How to generate a self-signed SSL certificate using OpenSSL?
- Root certificate authority works windows/linux but not mac osx
- More strict Server Certificate handling in iOS 13 macOS 10.15
- Never see localhost HTTPS warnings again
- Mac Users: Create Your Own Certificate Authority & Self Signed Certificate in Keychain Access