Skip to content

What is the "Password:" for which I'm prompted when I run mkcert -install on a Mac? #178

Closed

Description

@kenny-evitt

From a Terminal window:

$ mkcert -install
Created a new local CA at "/Users/kenny/Library/Application Support/mkcert" 💥
Password:

I'm pretty sure this is my Keychain password (the 'login' password for my user) but it's certainly not clear that that's what's being requested. Could this (or should) this be documented in the README? (I'd be willing to make a stab at doing so if it's considered helpful.)

Activity

  1. hauleth commented on Jul 29, 2019

    @hauleth

    Current account password. The same you use when you do sudo true

  2. rfay commented on Jul 29, 2019

    @rfay

    This is a confusing thing that mkcert silently runs sudo. Maybe necessary, but a little more output would be useful, knowing that sudo may go ahead and prompt for password.

  3. hauleth commented on Jul 29, 2019

    @hauleth

    Actually, at least in macOS Sierra, it is not needed to use sudo for security command line tool, as this will automatically ask user whether they allow changes and would even allow using TouchID to confirm such changes.

  4. adamdecaf commented on Jul 30, 2019

    @adamdecaf
    Contributor

    I created #183 which removes sudo where we can, but since we add the mkcert root to the System Keychain sudo appears to be required still.

  5. FiloSottile commented on Jul 30, 2019

    @FiloSottile
    Owner

    We should probably always pass --prompt="Sudo password:" to sudo.

  6. kenny-evitt commented on Jul 31, 2019

    @kenny-evitt
    Author

    @FiloSottile That's a good idea too but a brief mention in the README would nicely set expectations too:

  7. adamdecaf commented on Jul 31, 2019

    @adamdecaf
    Contributor

    I like the idea of passing --promtp to sudo.

  8. added a commit that references this issue on Jul 23, 2024
    aa4dd61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions