Skip to main content

Crate volga_dev_cert

Crate volga_dev_cert 

Source
Expand description

A Rust library for generating self-signed TLS certificates for local development.

Constants§

DEFAULT_CERT_FILE_NAME
Default name of development certificate file
DEFAULT_CERT_FOLDER
Default name of a folder with TLS certificates
DEFAULT_KEY_FILE_NAME
Default name of signing key file
DEV_CERT_NAMES
Default certificate names

Functions§

ask_generate
Sends the message to the stdio that asks whether to create dev TLS certificate of not
dev_cert_exists
Checks whether a dev certificate exists
generate
Generates self-signed certificate and saves them into ./cert folder
get_cert_path
Returns default path to the development TLS certificate .pem file
get_signing_key_path
Returns default path to the signin key .pem file