2 releases
0.1.0 | Dec 26, 2024 |
---|
#840 in Cryptography
233 downloads per month
15KB
274 lines
DevCert
Tool to easily generate development certificates (with CA).
This is totally based on rcgen, simply exposing an easy and somewhat flexible way of generating certificates.
Usage
After installing (cargo install --profile release devcert
), create a CA and a certificate:
devcert ca
devcert cert
The commands above will generate 4 files in the current directory, for the CA and the certificate.
If desired, it is also possible to re-use an existing PEM CA file:
devcert cert --ca myca
This expects files myca.pem
and myca.key
to exist in the current directory.
Specify --help
to see more information about the tool sub-commands. Example:
devcert ca --help
Dependencies
~18–29MB
~559K SLoC