https://github.com/aboutbits/certificate-authority-tools
Certificate Authority Tools
https://github.com/aboutbits/certificate-authority-tools
root-ca signing-ca ssl ssl-certificate tooling
Last synced: 4 months ago
JSON representation
Certificate Authority Tools
- Host: GitHub
- URL: https://github.com/aboutbits/certificate-authority-tools
- Owner: aboutbits
- License: mit
- Created: 2018-12-06T13:06:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T14:16:28.000Z (about 4 years ago)
- Last Synced: 2025-04-03T21:51:12.099Z (6 months ago)
- Topics: root-ca, signing-ca, ssl, ssl-certificate, tooling
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
Certificate Authority Tools
===========================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.
## Table of content
- [Requirements](#requirements)
- [Setup](#setup)
- [Commands](#commands)
- [Root CA](#root-ca)
- [Signing CA](#signing-ca)
- [Server Certificate](#server-certificate)
- [Information](#information)## Requirements
- Python 3
- OpenSSL## Setup
1. Clone the repository somewhere on your machine (ex. ~/Projects/Certificate-Authority-Tools)
2. Create a folder where you want to generate all the keys and certificates (ex. ~/Certificates)
3. Go to the new folder where you want to generate all the keys and certificates and execute the following commands (ex. ~/Certificates)## Commands
Using the following commands you can generate root CAs, sigining CAs and server certificates.
### Root CA
Execute the following command to generate a root CA:
```bash
python3 ~/Projects/Certificate-Authority-Tools/create-root-ca.py root-ca
```### Signing CA
Execute the following command to generate a signing CA:
```bash
python3 ~/Projects/Certificate-Authority-Tools/create-signing-ca.py root-ca signing-ca-01
```### Server Certificate
Execute the following command to generate a server certificate:
```bash
python3 ~/Projects/Certificate-Authority-Tools/create-server-certificate.py signing-ca-01 www.krumer.it
```## Information
About Bits is a company based in South Tyrol, Italy. You can find more information about us on [our website](https://aboutbits.it).
### Support
For support, please contact [info@aboutbits.it](mailto:info@aboutbits.it).
### Credits
- [Alex Lanz](https://github.com/alexlanz)
- [All Contributors](../../contributors)### License
The MIT License (MIT). Please see the [license file](license.md) for more information.