mkcert:tldr:ab187
The mkcert -install
command is used to install the root certificate of the mkcert
tool on your system.
mkcert
is a simple tool used to locally generate trusted SSL certificates for development purposes. These certificates can be used to enable secure HTTPS connections in a local development environment without having to use self-signed certificates that often generate warning messages in web browsers.
When you run mkcert -install
, it checks if the root certificate created by mkcert
is already installed in your system's trust store. If it isn't installed, it will prompt you to install it.
The installation process varies depending on the operating system you are using. On macOS and Windows, it will attempt to install the root certificate automatically, while on Linux, it will print out instructions on how to install the certificate manually.
Once the root certificate is installed, any certificates generated by mkcert
will be trusted by your system, allowing you to use them for local HTTPS development purposes.