FiloSottile/mkcert

unable to reinstall a saved rootCA

fragolinux opened this issue · 1 comments

EDIT: nevermind... I was just assigning CAROOT=. instead of export CAROOT=.

Environment

  • Operating system (including version): macos big sur 11.6.5
  • mkcert version (from mkcert -version): 1.4.4
  • Server (where the certificate is loaded): system keychain
  • Client (e.g. browser, CLI tool, or script): none

What you did

i created a ca root with: mkcert -install
moved it's folder from $(mkcert -CAROOT) to $HOME
removed the ca from the OS keychain
went into $HOME/mkcert (previous backup)
CAROOT=.
mkcert -install

it created a NEW ca instead of restoring the previous one... i just followed official guide, last steps in this page: https://github.com/FiloSottile/mkcert

what's the correct way to reinstall the same CA, on the same machine?

thanks

EDIT: nevermind... I was just assigning CAROOT=. instead of export CAROOT=.