When connecting with Google Chrome to a website which uses a certificate for identification you always get the certificate selection pop-up:
In Microsoft's Internet Explorer you are able to automatically suppress this popup via Internet Explorer Settings.
In Google Chrome you can also suppress the certificate selection popup. Unfortunately, the procedure is not that easy and comfortable as it is in IE.
In short words: this settings can be configured for Google Chrome as a Group Policy within Windows administration.
The advantage: this allows you to define this kind of settings for your complete company using domain policies.
The bad thing: if this settings is not defined as a domain policy you have to define it locally, which needs administrative access to the Windows registry. Furthermore there is no way to use this feature on non-professional Windows editions, because not only gpedit.msc is missing but also the complete GroupPolicy API is dead or pointing into NOP-functions.
In order to simplify this setting on your workstation I have written a powershell module, which is attached to this blog.
The script is provided as is - no warranty, no support.
If you have questions, please use the Windows forum.
How to work with the script?
- Download the attached text file and rename it to the file extension .psm1 .
- Start a powershell with elevation (Right Click on Start - All Programs - Accessories - Windows Powershell - Windows Powershell --> Run as Administrator
- Run following command to load the module and get help about the provided functions
- Now you can add the SAP websites on a very easy way:
If you prefer not to work using wildcard urls you can use the -detailed instead of -wildcard
You can also use the tool to add a different website (for example from your intranet) using an different CN.
To avoid the popup shown above you just run the command
To use autoselected certificates on all servers in sap-ag.de with a CA show in the Certification Selection Popup (example see screenshot):
By the way: Windows Powershell does support auto-expansion on commands and parameter names by pressing the TAB key.
Try to type Add-Chr<tab> -<tab>