FiloSottile / FiloSottile/mkcert
Invalid CA in arch linux
- Dominant language
- Go
- Stars
- 59.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
* Operating system (including version): `Linux archlinux 5.18.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000 x86_64 GNU/Linux`
* mkcert version (from `mkcert -version`): `(devel)`
* Server (where the certificate is loaded): webpack-dev-server
* Client (e.g. browser, CLI tool, or script):
* Brave 1.39.111 Chromium: 102.0.5005.61 (Official Build) (64-bit)
* Google Chrome 102.0.5005.61 (Official Build) (64-bit)
* Firefox 101.0
## What you did
Ran `mkcert -install` and `mkcert localhost` as instructed to generate valid certificate.

Verified that certificate authority was added to all browsers.
Brave

Chrome

Firefox

Added the following lines to my `.env` file within my create-react-app project to make the dev server aware of the certificates.
```
HTTPS=true
SSL_CERT_FILE=.cert/localhost.pem
SSL_KEY_FILE=.cert/localhost-key.pem
```
## What went wrong
`NET::ERR_CERT_AUTHORITY_INVALID` in brave and chrome


`MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT` in firefox

Contributor guide
Assessment
This issue has not been assessed yet.