Trust the kevin CA#
The kevin proxy serves HTTPS with certificates signed by a local CA. Until your machine trusts that CA, clients reject the certificates, and curl needs --cacert ~/.kevin/root.crt.
Install the root CA#
kevin ca installDo this once per machine. It does not need a project, and it covers every kevin project.
kevin adds the root CA to:
- The macOS keychain, or the Linux CA directory, for your user.
- The certificate database of each Firefox profile.
macOS asks you to confirm the change.
To install for all users of the machine, add --system. This needs root: kevin prints the command to run with sudo.
Trust the CA in Firefox#
Firefox has its own certificate database. kevin needs certutil to change it, and skips Firefox if certutil is not installed. Install it, then run kevin ca install again:
brew install nss # macOS
sudo apt install libnss3-tools # Debian and Ubuntu
sudo dnf install nss-tools # FedoraOn macOS, Homebrew puts certutil in $(brew --prefix nss)/bin. Add that directory to your PATH.
Check the result#
kevin doctorEach trust store shows ok when it trusts the kevin CA.
Remove the root CA#
kevin ca uninstallRelated#
- Certificate authority: how kevin creates and uses its CA.
kevin ca