Crates.io | devcert |
lib.rs | devcert |
version | 0.1.0 |
created_at | 2024-12-26 18:32:27.14337+00 |
updated_at | 2024-12-26 18:33:24.052545+00 |
description | Tool to easily generate certificates to be used in development environments. |
homepage | https://github.com/vgobbo/devcert#devcert |
repository | https://github.com/vgobbo/devcert |
max_upload_size | |
id | 1495875 |
size | 47,565 |
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.
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