mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 13:36:02 +03:00
[GH-ISSUE #222] mkcert as local user getting Not: not found #142
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#142
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 @wizonesolutions on GitHub (Nov 20, 2019).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/222
I'm running mkcert as a local Docker container user in order to get it installed into the NSS DB so that it will work with headless Chrome (and Selenium) in a Docker container. I've used this approach successfully in a different container, but in this one (selenium/standalone-chrome-debug) I'm hitting a strange error that I'm not quite sure how to diagnose or debug.
Command: output
From what I can tell, the tool is getting unexpected output and trying to execute that output. When I tried another invocation of this (with
sudo -Ein case permissions were an issue), it failed on line 26 ofsh.It's running Ubuntu:
I install mkcert in the Dockerfile with:
And I see paths to the expected binaries with
which, etc.@wizonesolutions commented on GitHub (Nov 20, 2019):
Ah. The contents of
/usr/local/bin/mkcertareNot Found, so I guess the URL changed from last time I used it. That'll do it! Closing this.@wizonesolutions commented on GitHub (Nov 20, 2019):
P.S. link was fine, my switch to single quotes when porting my Dockerfile from headless Chrome to Selenium was the culprit. Obviously a literal
$MKCERT_VERSIONwon't work.@aureate-labs-team commented on GitHub (Mar 26, 2021):
You should try "./mkcert -install"