Nowadays more and more software requires certificates to run properly. During development this can be a burden, especially when adding the proper configuration and/or parameters.
DevRSA is based on EasyRSA and can be used to quickly generate a PKI CA for development purposes.
Do NOT use DevRSA in production!
Clone this repository and run:
cd dev-rsa
docker build -t dev-rsa .
docker run --rm -ti -v $PWD:/pki dev-rsa bash /pki/dev-rsa.sh
Install EasyRSA and Whiptail:
sudo apt update && sudo apt install easy-rsa whiptail
Add easy-rsa to $PATH
or add a symlink to for example: /usr/local/bin
. Clone
this repository and run:
bash dev-rsa.sh
By editing the variables root_ca
and sub_ca_list
in the dev-rsa.sh
file,
the root and sub CA's can be configured.
Use the vars file to configure EasyRSA. The included file contains an example configuration.
- Start DevRSA
- Create a root CA
- Create an intermediate CA
- Create a server or client certificate
The generated certificates can be found in the pki/
folder.