Chrome - certificate settings in Registry

前端 未结 1 1204
面向向阳花
面向向阳花 2021-02-11 02:50

For a Webdrivertest I\'m using Chrome, but there is always a query for one SSL-certificate. With Google Chrome setting its not possible to handle it. So I read that there is a w

1条回答
  •  不知归路
    2021-02-11 03:29

    Your first option works for me. I've saved the text below as a windows registry file (.reg). After importing it, chrome works as expected.

    Notice that you don't need to escape the parenthesis if you are editing the registry directly using regedit.

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\AutoSelectCertificateForUrls]
    "1"="{\"pattern\":\"https://example.com\",\"filter\":{\"ISSUER\":{\"CN\":\"IssuerCN\"}}}"
    

    (replace https://example.com and IssuerCN with your values, of course)

    For further help, see https://www.chromium.org/administrators/policy-list-3#AutoSelectCertificateForUrls

    0 讨论(0)
提交回复
热议问题