This project is a wrapper around some OpenSSL commands. It should represent a tool, that helps you set up a root certificate authority with multiple signing certificate authorities. These certificate authorities can be used to generate and sign server certificates.
This is very useful if you want to have valid SSL certificates for your local development. You can simply serve your projects locally with the generated server certificates. In addition, you have to add the certificate of the root certificate authority to your machine aside the other already existing root certificates, so that the server certificates can be validated and trusted.
- Python 3
- OpenSSL
- Clone the repository somewhere on your machine (ex. ~/Projects/Certificate-Authority-Tools)
- Create a folder where you want to generate all the keys and certificates (ex. ~/Certificates)
- Go to the new folder where you want to generate all the keys and certificates and execute the following commands (ex. ~/Certificates)
Using the following commands you can generate root CAs, sigining CAs and server certificates.
Execute the following command to generate a root CA:
python3 ~/Projects/Certificate-Authority-Tools/create-root-ca.py root-ca
Execute the following command to generate a signing CA:
python3 ~/Projects/Certificate-Authority-Tools/create-signing-ca.py root-ca signing-ca-01
Execute the following command to generate a server certificate:
python3 ~/Projects/Certificate-Authority-Tools/create-server-certificate.py signing-ca-01 www.krumer.it
About Bits is a company based in South Tyrol, Italy. You can find more information about us on our website.
For support, please contact info@aboutbits.it.
The MIT License (MIT). Please see the license file for more information.