Use SSL with MAMP PRO 4

后端 未结 2 1150
臣服心动
臣服心动 2021-02-06 15:26

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

2条回答
  •  鱼传尺愫
    2021-02-06 16:13

    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.

提交回复
热议问题