WebBrowser control won't display an https site that IE8 on the same PC will

Posted by Velika on Stack Overflow See other posts from Stack Overflow or by Velika
Published on 2010-03-17T02:42:57Z Indexed on 2010/03/17 2:51 UTC
Read the original article Hit count: 515

Filed under:
|
|

In IE8, I get the follow warning, but if I choose to continue the site displays properly.

  There is a problem with this website's security certificate. 


 The security certificate presented by this website was issued for a different website's address.

Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.  
  We recommend that you close this webpage and do not continue to this website.  
  Click here to close this webpage.  
  Continue to this website (not recommended).  
     More information 

In the WebBrowser control, I get this at first:

  Navigation to the webpage was canceled 

   What you can try: 
     Refresh the page. 

When I hit the refresh teh page, this time, I get the same wanting as I originally get in IE8, but when I click "Continue to this website (not recommended)", the page refresh again, displaying the same warning.

What can I do to get the site to display in the WebBrowser control as it does in IE8. I would've thought that the control would be using the same core logic and therefore expected the same result.

© Stack Overflow or respective owner

Related posts about winform

Related posts about ie8