Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Edge Keeps Prompting For Certificate

I have an application that uses certificates (*.p12) to authenticate users. I want to be able to use it in Microsoft Edge (version 42) and Internet Explorer (version 11), but these browsers give me issues.

Speaking specifically of Edge, I have added the certificates to the certificate store, and they are available for me to login. When I navigate to the website, I get prompted with a window that says "Select a Certificate" (as I expect) and I select the desired user's certificate from the prompts dropdown and click "OK".

This is where the issue occurs. After I select the certificate, the prompt immediately pops back up. The prompt can reappear between 2 and 10 times. It seems to be worse in Internet Explorer. Either way, the re-prompt impacts my ability to do a number of things with the website that I need to do.

Is this a common issue? Is there something that I ought to change in my browser settings in order to prevent it?

Thank you for any help.

like image 933
harrys Avatar asked Oct 21 '25 11:10

harrys


1 Answers

Old question, but I've faced the same problem.

Solution 1

Create a DWORD item ForceCertificatePromptsOnMultipleMatches with value 0 in registry key HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge

Solution 2

Create a string value in SOFTWARE\Policies\Microsoft\Edge\AutoSelectCertificateForUrls

Value Name: 1, 2, 3, ... increment for every new value

And specify a pattern used to automatically select a certificate

Example: {\"pattern\":\"https://www.contoso.com\",\"filter\":{\"ISSUER\":{\"CN\":\"certificate issuer name\", \"L\": \"certificate issuer location\", \"O\": \"certificate issuer org\", \"OU\": \"certificate issuer org unit\"}, \"SUBJECT\":{\"CN\":\"certificate subject name\", \"L\": \"certificate subject location\", \"O\": \"certificate subject org\", \"OU\": \"certificate subject org unit\"}}}

More info on this: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies#autoselectcertificateforurls

like image 104
alpha-helix Avatar answered Oct 25 '25 04:10

alpha-helix



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!