denvig certs
The certs command manages local TLS certificates, allowing you to run services over HTTPS in development with a local Certificate Authority.
denvig certs <subcommand>Certificate Authority
Section titled “Certificate Authority”For local certs to work they need to be trusted by your system. You can either import real certificates from a trusted CA or create your own local CA and generate certs from it.
A local ca is not required if you are strictly importing real certificates that are already trusted.
install
Section titled “install”In order to use the local denvig CA you will need to initialize it and install it to your system keychain.
This is required before using any of the generate commands below.
denvig certs ca installYou can verify the local ca at anytime with the info command:
denvig certs ca infouninstall
Section titled “uninstall”you can fully remove the local and untrust from your system:
denvig certs ca uninstallSubcommands
Section titled “Subcommands”Initialize a local Certificate Authority and install it to the system keychain:
denvig certs initManage the local Certificate Authority:
denvig certs cagenerate
Section titled “generate”Generate a TLS certificate for a domain signed by the local CA:
denvig certs generateList all managed TLS certificates:
denvig certs listimport
Section titled “import”Import an existing TLS certificate and private key:
denvig certs importRemove a certificate by its directory name:
denvig certs rm <name>