Reputation: 603
Since I've updated to chrome 63, my sites in localhost are redirected to https, so I decided to use SSL with MAMP PRO but I can't make it work, chrome says Your connection is not private.
In the SSL panel of MAMP, I generated the certificate and set its path for the key and certificate, however I don't know what I should do for "Certificate chain file (Apache only)"
Upvotes: 4
Views: 3839
Reputation: 567
I hit the same issue recently and found a solution that works for me on macOS.
As you've already highlighted, this issue started with a Chrome update which is forcing SSL on localhost *.dev URLs.
To get around it you need to add the certificate to your keychain and override the trust setting:
Upvotes: 13
Reputation: 63
I'm having the same problem and creating a self-signed certificate doesn't work either. See https://jasonyingling.me/local-dev-development-site-stopped-working/, which explains that Chrome ^63 will force https for any site ending in .dev and that it requires a trusted certificate, which seems impossible to set up for localhost. There will likely be a better solution that evolves for MAMP users but the short-term fix is to use Firefox or reconfigure your local dev environment and local sites to use .local or .test, etc.
Upvotes: 5