FiloSottile / FiloSottile/mkcert

SSL certificates not accepted in browser - Safari, chrome, firefox

Open
#461 12 comments 6 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
59.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## Environment

* Operating system (including version): macOS Big Sur 11.6.7 (20G630)
* mkcert version (from `mkcert -version`): v1.4.4
* Server (where the certificate is loaded): Angular cli has in build serving mechanism to load SSL certs, https://angular.io/cli/serve
* Client (e.g. browser, CLI tool, or script): browser (Chrome, Safari, Firefox)

## What you did

```bash
brew install mkcert
brew install nss
mkcert --install
mkcert localhost 127.0.0.1
```
After generating certificates, I attached them to angular cli. (It is able to detect the certificates at a given path)

```bash
ng serve --ssl \
--ssl-cert "/Users/gru/development/angular/ssl/localhost+1.pem” \
--ssl-key "/Users/gru/development/angular/ssl/localhost+1-key.pem”
```

### I have gone through some closed issues and tried to restart the browser and the entire machine.
But none of them helped.

## What went wrong

![chrome](https://user-images.githubusercontent.com/15211916/178149010-c25fc98a-a43b-48ea-b97c-2abb47a79de4.png)
![safari](https://user-images.githubusercontent.com/15211916/178149021-8473e01a-ee4f-4a70-acd3-de2e1d9f53f2.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.