local-cert-generator
local-cert-generator copied to clipboard
Certificate not trusted
I followed all the steps in your README but the generated certificate does not work.
Just reporting that it works for me. Did you miss any steps?
I also did not skip steps, but got it:
CONSOLE LOG [Error: An SSL error has occurred and a secure connection to the server cannot be made.]
Same for me, maybe it does not work with current versions of Google Chrome?
+1 here.... does not work with Chrome 77.
On a MAC I forgot to mark the certificate as trusted after adding it to the Keychain. Did you guys do that? Also make sure you restart MAMP after changing any settings or adding new keys.
![Screenshot 2022-02-18 at 14 18 13](https://user-images.githubusercontent.com/5791726/154689936-a3634ea4-8704-4a01-a715-bc916a82d88c.png)
This got it working from Chrome and Safari. To get it working for Firefox I had to add the rootCA to Firefox directly (Settings > Privacy & Security > Certificates > View certificates > Import
)