[GH-ISSUE #114] How to delete Local CA #62

Closed
opened 2026-02-25 22:32:30 +03:00 by kerem · 5 comments
Owner

Originally created by @sumitanvekar on GitHub (Jan 10, 2019).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/114

While running mkcert -install, i provided a password which I can't remember. Is there a way to delete local CA and create it again?

Originally created by @sumitanvekar on GitHub (Jan 10, 2019). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/114 While running mkcert -install, i provided a password which I can't remember. Is there a way to delete local CA and create it again?
kerem closed this issue 2026-02-25 22:32:30 +03:00
Author
Owner

@adamdecaf commented on GitHub (Jan 10, 2019):

Yep!

# Remove the CA from trust stores
$ mkcert -uninstall
Using the local CA at "/Users/adam/Library/Application Support/mkcert" ✨
Password:
The local CA is now uninstalled from the system trust store(s)! 👋

You could then remove the certs at /Users/adam/Library/Application Support/mkcert if you wanted.

Edit: mkcert -CAROOT will output the directory where the CA is stored.

<!-- gh-comment-id:453189045 --> @adamdecaf commented on GitHub (Jan 10, 2019): Yep! ``` # Remove the CA from trust stores $ mkcert -uninstall Using the local CA at "/Users/adam/Library/Application Support/mkcert" ✨ Password: The local CA is now uninstalled from the system trust store(s)! 👋 ``` You could then remove the certs at `/Users/adam/Library/Application Support/mkcert` if you wanted. Edit: `mkcert -CAROOT` will output the directory where the CA is stored.
Author
Owner

@sumitanvekar commented on GitHub (Jan 10, 2019):

Sorry if I didn't make myself clear. I forgot the password which I entered when running $ mkcert -install
So, I can't run uninstall as well.

Is it ok if I uninstall mkcert itself and then delete certs in the directory? Will that clean up Local CA?

<!-- gh-comment-id:453207933 --> @sumitanvekar commented on GitHub (Jan 10, 2019): Sorry if I didn't make myself clear. I forgot the password which I entered when running $ mkcert -install So, I can't run uninstall as well. Is it ok if I uninstall mkcert itself and then delete certs in the directory? Will that clean up Local CA?
Author
Owner

@sumitanvekar commented on GitHub (Jan 10, 2019):

Closed it by mistake :(

<!-- gh-comment-id:453208322 --> @sumitanvekar commented on GitHub (Jan 10, 2019): Closed it by mistake :(
Author
Owner

@adamdecaf commented on GitHub (Jan 10, 2019):

You'll probably want to manually remove them from each truststore, but yea that should work.

<!-- gh-comment-id:453210387 --> @adamdecaf commented on GitHub (Jan 10, 2019): You'll probably want to manually remove them from each truststore, but yea that should work.
Author
Owner

@sumitanvekar commented on GitHub (Jan 12, 2019):

I uninstalled mkcert itself and then deleted "/Users/adam/Library/Application Support/mkcert". That seemed to work.

Thanks!

<!-- gh-comment-id:453708270 --> @sumitanvekar commented on GitHub (Jan 12, 2019): I uninstalled mkcert itself and then deleted "/Users/adam/Library/Application Support/mkcert". That seemed to work. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#62
No description provided.