Getting Chrome to accept self-signed localhost certificate

后端 未结 30 2919
小蘑菇
小蘑菇 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:47

    Click anywhere on the page and type a BYPASS_SEQUENCE

    "thisisunsafe" is a BYPASS_SEQUENCE for Chrome version 65

    "badidea" Chrome version 62 - 64.

    "danger" used to work in earlier versions of Chrome

    You don't need to look for input field, just type it. It feels strange but it is working.

    I tried it on Mac High Sierra.

    To double check if they changed it again go to Latest chromium Source Code

    To look for BYPASS_SEQUENCE, at the moment it looks like that:

    var BYPASS_SEQUENCE = window.atob('dGhpc2lzdW5zYWZl');
    

    Now they have it camouflaged, but to see the real BYPASS_SEQUENCE you can run following line in a browser console.

    console.log(window.atob('dGhpc2lzdW5zYWZl'));
    

提交回复
热议问题