[GH-ISSUE #213] mkcert asks for password in Mac OS #139

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

Originally created by @snambi on GitHub (Nov 6, 2019).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/213

The -install command fails even in the first time.

Am I setting the password and Am I expected to provide the password?

Anyway what is the password?

$mkcert -install
Created a new local CA at "/Users/nsankaran/Library/Application Support/mkcert" 💥
Password:
Password:
Password:
ERROR: failed to execute "security add-trusted-cert": exit status 1

Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts
Originally created by @snambi on GitHub (Nov 6, 2019). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/213 The `-install` command fails even in the first time. Am I setting the password and Am I expected to provide the password? Anyway what is the password? ``` $mkcert -install Created a new local CA at "/Users/nsankaran/Library/Application Support/mkcert" 💥 Password: Password: Password: ERROR: failed to execute "security add-trusted-cert": exit status 1 Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts ```
kerem closed this issue 2026-02-25 22:32:42 +03:00
Author
Owner

@rfay commented on GitHub (Nov 6, 2019):

sudo is attempting to use your user's password to your mac. So nobody here can tell you what it is.

I agree that it's confusing that it just prompts you for a password without telling you what it's doing, I think that's improved in some recent commits.

<!-- gh-comment-id:550535508 --> @rfay commented on GitHub (Nov 6, 2019): sudo is attempting to use your user's password to your mac. So nobody here can tell you what it is. I agree that it's confusing that it just prompts you for a password without telling you what it's doing, I think that's improved in some recent commits.
Author
Owner

@snambi commented on GitHub (Nov 6, 2019):

I have tried entering sudo password several times. Always the same errror.

<!-- gh-comment-id:550538363 --> @snambi commented on GitHub (Nov 6, 2019): I have tried entering `sudo` password several times. Always the same errror.
Author
Owner

@snambi commented on GitHub (Nov 6, 2019):

Yay... wen through this time

$mkcert -install
Created a new local CA at "/Users/nsankaran/Library/Application Support/mkcert" 💥
Password:
The local CA is now installed in the system trust store! ⚡️
The local CA is now installed in the Firefox trust store (requires browser restart)! 🦊
The local CA is now installed in Java's trust store! ☕️$mkcert -install
<!-- gh-comment-id:550538770 --> @snambi commented on GitHub (Nov 6, 2019): Yay... wen through this time ``` $mkcert -install Created a new local CA at "/Users/nsankaran/Library/Application Support/mkcert" 💥 Password: The local CA is now installed in the system trust store! ⚡️ The local CA is now installed in the Firefox trust store (requires browser restart)! 🦊 The local CA is now installed in Java's trust store! ☕️$mkcert -install ```
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#139
No description provided.