Getting Chrome to accept self-signed localhost certificate

后端 未结 30 2916
小蘑菇
小蘑菇 2020-11-21 11:30

I have created a self-signed SSL certificate for the localhost CN. Firefox accepts this certificate after initially complaining about it, as expected. Chrome and IE, however

30条回答
  •  鱼传尺愫
    2020-11-21 11:49

    For localhost only:

    Simply paste this in your chrome:

    chrome://flags/#allow-insecure-localhost
    

    You should see highlighted text saying: Allow invalid certificates for resources loaded from localhost

    Click Enable.

提交回复
热议问题