Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome has to be run at least once before mkcert notices it #319

Closed
JasonBarnabe opened this issue Dec 5, 2020 · 1 comment
Closed

Chrome has to be run at least once before mkcert notices it #319

JasonBarnabe opened this issue Dec 5, 2020 · 1 comment

Comments

@JasonBarnabe
Copy link

If Chrome is installed but has never been run, mkcert -install doesn't install the CA to its trust store. Not really an issue on a desktop, but I was trying to get mkcert running in a CircleCI build and ran into it. If it can't be fixed, it should at least be documented:

Workaround (for CircleCI): start Chrome and kill it before running mkcert -install.

      - run:
          name: Start Chrome so that mkcert sees it
          command: |
            /opt/google/chrome/google-chrome &
            sleep 3
            killall chrome
@JasonBarnabe
Copy link
Author

This is the same as #219, and that has a better workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant