-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
"NET::ERR_CERT_AUTHORITY_INVALID" in Chrome on macOS #180
Comments
sane problem here! |
Same problem |
In my case works on MacOS (Mojave) but not on Ubuntu 19.04.
|
Please say more about how you're doing your testing @daquinoaldo - and this is mkcert v1.4.0 true? BTW, I'm quite sure this is a dup of #174 and this one should be closed. |
My experience testing on Ubuntu 19.04 is that both Chromium and Firefox accept the not-before-June-1 certs generated by mkcert v1.4.0. @daquinoaldo if you look at the "Not-valid-before" in your browser's presentation of the cert and it was generated by v1.4.0, you should see May 31, 2019 or June 1, 2019, depending on your timezone. |
@rfay sorry, my fault: I changed laptop and I forgot to install libnss3-tools. |
I use the Chrome official build on macOS quite successfully with mkcert on macOS. Daily. And wasn't having any trouble with v1.3.0. I wonder what this is. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I don't have any idea what this would be due to. It looks like it hasn't been happening much recently though? If anyone is still experiencing this, please post exact Chrome, macOS, and mkcert versions, as well as the error screenshot. |
@FiloSottile This is happening for me using mkcert v1.4.0, Chrome Version 78.0.3904.87 (Official Build) (64-bit), on MacOS Catalina v10.15. |
@rushi If you still need to proceed, try to Enable this flag chrome://flags/#allow-insecure-localhost |
@FiloSottile Unfortunately I'm having the same issue with mkcert v1.4.0, Chrome 78.0.3904.97 (Official Build) (64-bit), on MacOS Mojave 10.14.6 @osadchiynikita Your tip sounded promising but unfortunately didn't do the trick for me. Thanks though. |
same here
by manually adding the site certificate and set trust in keychain - works ok. |
Hello, I tried to follow tutorials to have traefik using certificates generated by mkcert, but I think I have the same issue has described here.
Here are the scripts I was making in WIP to test, and this is the order of execution:
I have the HTTP -> HTTPS redirection ok, but still NET::ERR_CERT_AUTHORITY_INVALID if I go to https://mail-ddp8.docker.localhost/ Thanks for any help. |
Hello, I found my problem. It was not related to mkcert but to Traefik. The generated certificates were not loaded into Traefik configuration. I smelled the problem when seing that the invalid certificate name was "TREAFIK DEFAULT CERTIFICATE". |
My problem was resolved and it was user error. Bad configuration in Apache |
I still haven't been able to ever reproduce this. Here's some more info that might help if anyone who's encountering this wants to report it:
|
I had the same error, then tried all over again and it worked. It turned out the first time I created the certs (mkcert mydomain.com xxx) with sudo (Which obviously did not find the CA) |
Closing as this has not occurred in a while. I suspect these were various forms of operational issues where the root did not end up installed, or the certificate did not end up loaded in the web server. If anyone were to encounter this error again, please open a new issue and provide the details listed here: #180 (comment) |
Yep, I was having 2 issues:
Generating the certs in |
@FiloSottile - I am also having this issue on Ubuntu 16.04. I've tried doing the above, but maybe I'm doing something wrong since I might not be using it for its intended purpose. Essentially, I have a NUC that I use as a server, and I have my laptop. Edit: Yes I did need to manually copy the store over to my laptop in order to "trust" it. This was the piece that was missing for me. This use case wasn't clear from the documentation. |
@FiloSottile I'm also having an untrusted certificate error ( vue.config.js
|
Fixed the issue! the problem was I had never run |
@CodyEddings I am having the same issue, where did you run mkcert -install ? inside command prompt? I am using Ubuntu 20.04 as a local apache server |
@CodyEddings that command solves my problem on Windows, thanks. @wkdcode-liam run it on the command prompt. If you are using docker, don't generate the certs on the container, generate on your local OS and use a volume to mount the certificates on the container |
i use nginx in wsl2 localy. Got same error. It is fixed when:
|
tks @Valikkun, you solved my problem! |
I had also faced the same issue, however, I had not run the mkcert -install command before creating the certificate. |
My computer is running macOS version "10.14.5 (18F132)". I'm testing in Chrome version "75.0.3770.142 (Official Build) (64-bit)". Chrome was updated recently, i.e. yesterday, from an unknown earlier version (tho fairly recent I think).
Several days ago
mkcert
seemed to be working as expected. Today I get the error mentioned in the title.I was able to get it working again by manually adding the certificate to my "login" "Certificates" in the Keychain Access app by following the steps in this answer to the following Super User question:
This might be related to this recently opened issue:
The text was updated successfully, but these errors were encountered: