devcert

Crates.iodevcert
lib.rsdevcert
version0.1.0
created_at2024-12-26 18:32:27.14337+00
updated_at2024-12-26 18:33:24.052545+00
descriptionTool to easily generate certificates to be used in development environments.
homepagehttps://github.com/vgobbo/devcert#devcert
repositoryhttps://github.com/vgobbo/devcert
max_upload_size
id1495875
size47,565
Vinicius Gobbo Antunes de Oliveira (vgobbo)

documentation

README

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
Commit count: 13

cargo fmt