An open API service indexing awesome lists of open source software.

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

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.