mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #450] Invalid CA in arch linux #289
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#289
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 @lemonnuggets on GitHub (Jun 6, 2022).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/450
Environment
Linux archlinux 5.18.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000 x86_64 GNU/Linuxmkcert -version):(devel)What you did
Ran

mkcert -installandmkcert localhostas instructed to generate valid certificate.Verified that certificate authority was added to all browsers.
Brave

Chrome

Firefox

Added the following lines to my
.envfile within my create-react-app project to make the dev server aware of the certificates.What went wrong
NET::ERR_CERT_AUTHORITY_INVALIDin brave and chromeMOZILLA_PKIX_ERROR_SELF_SIGNED_CERTin firefox@FiloSottile commented on GitHub (Jun 6, 2022):
The server did not load the mkcert certificate for some reason. You can see the reported Issuer is “localhost” while mkcert certificates all have an Issuer that starts with “mkcert”
Sent from a small keyboard
@Cloufish commented on GitHub (Apr 8, 2023):
@FiloSottile
I have the same issue, but I think I've used correct commands:
And I still get not trusted certificate:

@66RING commented on GitHub (Dec 4, 2023):
same issue and issuer starts with “mkcert”

@nakashu commented on GitHub (Dec 4, 2023):
I guess I had a similar issue. Spend few hours debugging it.
It seems the problem is with Brave Browser.
My assumption is the store/location for CA is in different location for Brave than
mkcertuses, for other browsers.Eg. mkcert doesn't support it yet.
What I did to get to this conclusion
Maybe it will help someone.
@tikumo commented on GitHub (Jun 30, 2024):
My problem was fixed by clicking on the 3 dots for extra options and then trusting the cert.