This script provides an easy way to generate a Certificate Authority (CA) certificate, create Certificate Signing Requests (CSR), and sign certificates using your CA.
cert_manager.sh is a Bash script designed to simplify the process of creating, managing, and signing SSL/TLS certificates. This script provides an easy way to generate a Certificate Authority (CA) certificate, create Certificate Signing Requests (CSR), and sign certificates using your CA.
To use this script, you need:
openssl command should be available).Download the script:
wget https://path_to_your_script/cert_manager.sh
Or clone the repository:
git clone https://github.com/jturazzi/certs-manager.git
Make the script executable:
chmod +x cert_manager.sh
Run the script:
./cert_manager.sh
You will be prompted to choose the action you want to perform via a menu.
Creating a CA Certificate:
If you choose to create a CA certificate, you will be asked for:
myCA)MyCompanyCA)The script will create a CA certificate in the myCA directory.
Generating and Signing a Certificate:
If you choose to generate and sign a certificate, you will need to provide:
myCA)myCert)MyWebsite)example.com,www.example.com)192.168.1.1,192.168.1.2)The script will generate a CSR and sign it, resulting in a new certificate in the myCert directory.
This project is licensed under the MIT License - see the LICENSE file for details.