mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #355] Uninstall fails to uninstall #232
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#232
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 @CelsoSantos on GitHub (Mar 15, 2021).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/355
When trying to uninstall the certificates,
mkcertfails with the following messageHere's the shell output:
@felipevalois commented on GitHub (May 2, 2021):
@CelsoSantos any luck with that?
@CelsoSantos commented on GitHub (May 4, 2021):
No... I'm still waiting on a response
@5265949743 commented on GitHub (May 26, 2021):
$ mkcert -CAROOT
/Users/zed/Library/Application Support/mkcert
$ mkcert -uninstall
ERROR: failed to execute "security remove-trusted-cert": exit status 1
SecTrustSettingsRemoveTrustSettings: No Trust Settings were found.
$ sudo mkcert -uninstall
ERROR: failed to execute "security remove-trusted-cert": exit status 1
SecTrustSettingsRemoveTrustSettings: No Trust Settings were found.
@5265949743 commented on GitHub (May 26, 2021):
$ mkcert -CAROOT
/Users/zed/Library/Application Support/mkcert
$ mkcert -uninstall
ERROR: failed to execute "security remove-trusted-cert": exit status 1
SecTrustSettingsRemoveTrustSettings: No Trust Settings were found.
$ sudo mkcert -uninstall
ERROR: failed to execute "security remove-trusted-cert": exit status 1
SecTrustSettingsRemoveTrustSettings: No Trust Settings were found.
@CelsoSantos commented on GitHub (Jul 19, 2021):
Just an update: I revisited this issue today and it might be a non-issue.
The command to uninstall only fails with this message when it has already been uninstalled before.
If one executes
--installbefore--uninstall, the uninstall process goes OK. However, even after uninstall the rootCA files persist on/Library/Application Support/mkcertand I feel like they should be deleted when the uninstall command is executed.It's also not entirely clear if uninstalling will actually remove the certificate from the keystores to which it was added upon request to generate a new one.
Could the uninstall process be a bit more detailed @FiloSottile ? I'd be available to help document it
@kdambekalns commented on GitHub (Dec 14, 2021):
Well,
mkcert -helpsays: