Chrome在注册表中的证书设置 [英] Chrome - certificate settings in Registry
问题描述
对于我使用Chrome的Webdrivertest,但总是有一个SSL证书的查询。使用谷歌浏览器设置它不可能处理它。所以我读到有关注册表的一种方法。
所以我尝试了各种组合:
HKEY_LOCAL_MACHINE / Software / Policies / Chrome / AutoSelectCertificateForUrls
b $ b name = 1
Value = {\pattern \:\url \,\filter \:{\ ISSUER \:{\CN \:\User cert \}}}
$ b HKEY_LOCAL_MACHINE / Software / Policies / Google / Chrome / AutoSelectCertificateForUrls
name = 1
Value = {pattern:url ,filter:{ISSUER:{CN:User cert}}}
HKEY_LOCAL_MACHINE / Software / Policies / Chromium / AutoSelectCertificateForUrls
name = 1
Value = {pattern:url,filter:{ISSUER:{CN :User cert}}}
HKEY_LOCAL_MACHINE / Software / Policies / Google Chrome / AutoSelectCertificateForUrls
name = 1
Value =
{\pattern \:\url \,\ filter \:{\ISSUER \:{\CN \:\User cert\}}}
和其他组合。
当我转到chrome://策略时,我发现它。
所以它在策略中,但它不起作用。我仍然收到证书查询。
任何一个想法为什么它不起作用?
您的第一个选项适用于我。我将下面的文本保存为Windows注册表文件(.reg)。导入后,chrome按预期工作。
请注意,如果您使用regedit直接编辑注册表,则不需要转义括号。 b
$ b
Windows注册表编辑器版本5.00
[HKEY_LOCAL_MACHINE \SOFTWARE\Policies\Google\Chrome\AutoSelectCertificateForUrls]
1={\pattern \:\https://example.com\,\filter \:{\ISSUER \:{ \CN \:\IssuerCN \}}}
使用您的值 https://example.com 和 IssuerCN 当然)
如需进一步的帮助,请参阅 https://www.chromium.org/administrators/policy-list-3#AutoSelectCertificateForUrls
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 way about Registry. So I tried various combinations:
HKEY_LOCAL_MACHINE / Software /Policies / Chrome / AutoSelectCertificateForUrls
name = 1
Value = {\"pattern\":\"url\",\"filter\":{\"ISSUER\":{\"CN\":\"User cert\"}}}
HKEY_LOCAL_MACHINE / Software /Policies / Google / Chrome / AutoSelectCertificateForUrls
name = 1
Value = {"pattern":"url","filter":{"ISSUER":{"CN":"User cert}}}
HKEY_LOCAL_MACHINE / Software /Policies / Chromium / AutoSelectCertificateForUrls
name =1
Value = {"pattern":"url","filter":{"ISSUER":{"CN":"User cert"}}}
HKEY_LOCAL_MACHINE / Software /Policies / Google Chrome / AutoSelectCertificateForUrls
name = 1
Value =
{\"pattern\":\"url\",\"filter\":{\"ISSUER\":{\"CN\":\"User cert\"}}}
and other combinations. When I go to chrome://policy I found it.
So it is in the policy, but it does not work. I still got the query for certificate. Any one an idea why it does not work?
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
这篇关于Chrome在注册表中的证书设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!