mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 13:36:02 +03:00
[GH-ISSUE #182] Running mkcert -install as root on Linux doesn't install into the Java trust store #115
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @darioseidl on GitHub (Jul 29, 2019).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/182
Probably a user error, but maybe the documentation/output could be improved.
I used
mkcertsuccessfully on my local machine, then tried the same on our CI server (Debian stretch) and got:No mention of the java trust store. It would be good if there was some output/warning about what went wrong. It took me a while to figure out that apparently I shouldn't run
mkcertas root. Running the same commands as a different user works (and asks forsudopassword).Btw. when running
mkdir -installa second time, there is also no mention of the java trust store.First time:
Second time:
@FiloSottile commented on GitHub (Aug 16, 2019):
I think all you are seeing is that
-installdoes not print anything if the certificate is already installed. Otherwise, it's a bug. Can you check with v1.4.1 when it comes out later today? I added "already installed" messages.BTW, the "not yet supported on this Linux" is #188, fixed now.
@darioseidl commented on GitHub (Aug 19, 2019):
Thanks, I'll give it a try. v1.4.1 is not out yet, is it?
@darioseidl commented on GitHub (Jul 7, 2020):
I tried it now with v1.4.1 (sorry for the long delay) and I get a message
The local CA is already installed in Java's trust store! 👍, so this is fixed.