#certificate #ca #tls #mkcert

app devcert

Tool to easily generate certificates to be used in development environments

2 releases

0.1.0 Dec 26, 2024

#840 in Cryptography

Download history 219/week @ 2024-12-24 10/week @ 2024-12-31 4/week @ 2025-01-07

233 downloads per month

MIT/Apache

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