-
Notifications
You must be signed in to change notification settings - Fork 4
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
Getting ERR_CERT_AUTHORITY_INVALID
in Windows Host
#534
Comments
+1 The above workaround steps didn't quite work for me, but I may not have followed them exactly, what did work for me:
|
Additionally to get firefox browser to accept the cert, additional step is required -- only impacts FF Go to: |
Thanks for the extra testing! Interesting though, mkcert is meant to install directly into Firefox's CA root store as well so might be something a bit dodgy there; were there any messages about that when you ran |
Yep, seems to be specific to windows
|
Aha, thanks! |
Closing this as I think it is out of date. |
Steps to reproduce:
mkcert
has generated is only getting installed inside WSL2Workaround:
mkcert
in Windows hosta. Install Chocolatey https://chocolatey.org/install
b. Run
choco install mkcert
in PowerShellmkcert -CAROOT
in PowerShell to get where root certificate is installed in Windows hostcomposer server ssl exec -- -CAROOT
to get where the generated root certificate is stored\\wsl$\
and browse to the WSL’s CA root directory (e.g.\\wsl$\Ubuntu-20.04\home\jerico\.local\share\mkcert
)rootCA.pem
androotCA-key.pem
to Windows host CA root directory (Step 2)mkcert -install
- this will install the generated root certificate from WSL2Acceptance criteria:
The text was updated successfully, but these errors were encountered: