How can you indicate which certificate is presented in a WebBrowser control?

I have a webbrowser control built into a WinForms application that downloads content that requires a digital certificate. If my certificate collection has only one valid certificate, it works fine.

However, if I have several certificates, especially if one of them is invalid, the wrong certificate seems to be selected and sent. When the application is distributed, I do not know what certificates they will be installed.

Is there a way besides this to make sure that the WebBrowser control selects the correct certificate?

+3
source share

All Articles