Repository navigation
Replies: 1 comment
|
So I would:
mkcert expects the CA key as a file in its CAROOT when it needs to issue a new certificate. If you simply move But mkcert will no longer be able to issue new certificates from that same CA unless you make the key available again. A clean way to store the CA elsewhere is to move/manage the CA directory and point mkcert to it with: export CAROOT=/path/to/secure/ca-directorywhen you need to issue certificates. So yes: treat |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks to mkcert, I've successfully setup certificates for my home server.
But now I have "rootCA-key.pem" and "rootCA.pem" file just sitting at CAROOT directory.
After basic googling "rootCA.pem" doesn't seem that important to keep it secure so I'm going to leave it there, but "rootCA-key.pem" file seems pretty important to secure it.
Do I just leave it there and just don't do any stupid things like downloading malware, or is it better to move to some sort of encrypted conatiner, can macOS keychain securely store it? If "rootCA-key.pem" isn't present in CAROOT directory due to moving to better place, does mkcert still work as before without issue?
All reactions