-
-
Save alanbacelar/a4365324c15e683a02cc6791c285a7ea to your computer and use it in GitHub Desktop.
{ | |
"AutoSelectCertificateForUrls": ["{\"pattern\":\"*\",\"filter\":{}}"] | |
} |
LINUX: https://gist.github.com/njh/1d6f2c6acdf39fb3c1b0
MAC:
defaults write com.google.Chrome AutoSelectCertificateForUrls -array
defaults write com.google.Chrome AutoSelectCertificateForUrls -array-add -string '{"pattern":"[*.]","filter":{"ISSUER":{"CN":"NOME DA EMPRESA:227497234872"}}}'
WINDOWS:
Registros
- Click Start, click Run, type regedit in the Open box, and then click OK.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\AutoSelectCertificateForUrls]
name = 1
Value = {"pattern": "[*.]", "filter" : {}}
If you are using Google Chrome and Client SSL Cert and you are tired of constantly selecting certificates, try this:
- Download and extract Chrome policy templates from here: http://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip
- Start the Local Group Policy Editor: Start > Run > gpedit.msc > OK
- Right-click on Computer Policy > Computer Configuration > Administrative Templates and choose Add/Remove Templates…
- Click Add…, choose policy_templates\windows\adm\en-US\chrome.adm (from the already downloaded and extracted policy templates) and click Open (Note: if your Windows language is different from en-US choose the chrome.adm from the respective language folder)
- Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > Classic Administrative Templates (ADM) > Google > Google Chrome > Content Settings
- Double-click on Automatically select client certificates for these sites
- Click Enabled
- Click Show… in the Options pane
- Consecutively add the following lines:
{"pattern":"https://[*.]example.com","filter":{"ISSUER":{"CN":"example.com"}}}
- Click OK
- Re-launch Chrome
- Done. No more annoying pop-ups!
If you’re on a Mac you’ll have to create/edit file /Library/Preferences/com.google.Chrome.plist and insert the following code (extend it for more server addresses):
<plist version="1.0″>
AutoSelectCertificateForUrls
{"pattern":"[*.]example.corp","filter":{"ISSUER":{"CN":"example.com"}}}
For all sites:
{"pattern":"https://","filter":{}}
{"pattern": "[.]", "filter" : {"ISSUER": {"CN":"AC SOLUTI Multipla v5"} } }
Linux path: /etc/opt/chrome/policies/managed