Re:Show HN: Mkcert – Valid HTTPS certificates for localhost
by amelius on Monday January 07, 2019 @04:35AM
(#18843942)
I don't like the idea of the root requirement. Sometimes you are logged into a system maintained by someone else, and you want to do things as a normal user.
[ Parent
| on HN ]
Re:Show HN: Mkcert – Valid HTTPS certificates for localhost
by regecks on Monday January 07, 2019 @05:18AM
(#18844100)
There's already a root requirement so that `mkcert -install` can deploy to the trust store. The problem is that after this point, the trust store is totally undermined, because the new CA's private key sits around unprotected.
I feel like this is a similar pitfall to how if you add a user to the `docker` group for convenience, you (perhaps unknowingly) gave that user root access to the host.
With this minor change, mkcert still retains its full function and convenience. Just type your password once in a blue moon when you need a certificate for a new fake real domain.
Re:Show HN: Mkcert – Valid HTTPS certificates for localhost
by grahamedgecombe on Monday January 07, 2019 @06:00AM
(#18844279)
I don't think `mkcert -install` requires root in all cases. The NSS trust store is stored in ~/.pki/nssdb/ and can be written to without root.
Re:Show HN: Mkcert – Valid HTTPS certificates for localhost
by vectorEQ on Monday January 07, 2019 @08:46AM
(#18844994)
can you create/use a local CA as non-root too?
Re:Show HN: Mkcert – Valid HTTPS certificates for localhost
by SomeHacker44 on Tuesday January 08, 2019 @08:13AM
(#18855270)
Is there no passphrase on these private keys? Especially the local CA?