Quick and easy X.509 certificate generator for SSL/TLS utilizing local PKI
10K+
Quick and easy X.509 certificate generator for SSL/TLS utilizing local PKI
:heart: :heart: :heart:
You can say thanks to the author by donations to these wallets:
0xB71250010e8beC90C5f9ddF408251eBA9dD7320e1N89PRvG1CSsUk9sxKwBwudN6TjTPQ1N8abc1qc0hcyxc000qf0ketv4r44ld7dlgmmu73rtlntwRun this command within source directory:
pip3 install .
pip3 install quickcerts
sudo snap install quickcerts
For deployment with Docker see "Docker" section below.
quickcerts -D *.example.com example.com -D www.example2.com example2.com mx.example2.com -C "John Doe" -C "Jane Doe"
This command will produce following files in current directory:
Consequent invokations will reuse created CA.
Also you may run this application with Docker:
docker run -it --rm -v "$(pwd)/certs:/certs" \
yarmak/quickcerts -D server -C client1 -C client2 -C client3
In this example CA and certificates will be created in ./certs directory.
$ quickcerts --help
usage: quickcerts [-h] [-o OUTPUT_DIR] [-k KEY_SIZE]
[-D DOMAINS [DOMAINS ...]] [-C CLIENT]
Generate RSA certificates signed by common self-signed CA
optional arguments:
-h, --help show this help message and exit
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
location of certificates output (default: .)
-k KEY_SIZE, --key-size KEY_SIZE
RSA key size used for all certificates (default: 2048)
-D DOMAINS [DOMAINS ...], --domains DOMAINS [DOMAINS ...]
Generate server certificate which covers following
domains delimited by spaces. First one will be set as
CN. Option can be used multiple times. (default: None)
-C CLIENT, --client CLIENT
Generate client certificate with following name.
(default: None)
Content type
Image
Digest
sha256:4fcd137d1…
Size
32.7 MB
Last updated
about 1 year ago
docker pull yarmak/quickcerts