![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
I am writing a Windows application (vb.net) and am using the axwebbrowser to navigate to HTTPS sites. The navigation to the sites produces the Security Alert dialog stating that the site name does not match the certificate name. This is okay and expected. I wrote a CertificatePolicy to always accept certificates and then assigned my new policy to the ServicePointManager.CertificatePolicy. The problem is that once I use the axwebbrowser to navigate to the site, the dialog still comes up. It seems as though the policy doesn't apply to the axwebbrowser. Any ideas/help/comments/suggestions? Thanks. |
#2
| |||
| |||
|
|
I figured that it was probably something along those lines. Do you know how I would go about using the response from an HttpWebRequest to have the page show up in the axwebbrowser? The ASP pages I am requesting have Web Controls that need to usable once the page is visible in the axwebbrowser. thanks for you help. -----Original Message----- ServicePointManager refers to .NET code that uses the classes in System.Net such as HttpWebRequest to access the internet. It does not apply to anything else on the machine. Joe K. "Susan" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:1d1ae01c453d0$0db0cc90$a601280a (AT) phx (DOT) gbl... I am writing a Windows application (vb.net) and am using the axwebbrowser to navigate to HTTPS sites. The navigation to the sites produces the Security Alert dialog stating that the site name does not match the certificate name. This is okay and expected. I wrote a CertificatePolicy to always accept certificates and then assigned my new policy to the ServicePointManager.CertificatePolicy. The problem is that once I use the axwebbrowser to navigate to the site, the dialog still comes up. It seems as though the policy doesn't apply to the axwebbrowser. Any ideas/help/comments/suggestions? Thanks. . |
#3
| |||
| |||
|
|
-----Original Message----- Sorry, but I have no idea what the axwebbrowser is or how it works. If it uses WinInet under the hood, then it is almost certainly possible for it to behave this way, but that doesn't mean you can get it to. Good luck, Joe K. "Susan" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:1d6da01c453e9$4d08e350$a101280a (AT) phx (DOT) gbl... I figured that it was probably something along those lines. Do you know how I would go about using the response from an HttpWebRequest to have the page show up in the axwebbrowser? The ASP pages I am requesting have Web Controls that need to usable once the page is visible in the axwebbrowser. thanks for you help. -----Original Message----- ServicePointManager refers to .NET code that uses the classes in System.Net such as HttpWebRequest to access the internet. It does not apply to anything else on the machine. Joe K. "Susan" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:1d1ae01c453d0$0db0cc90$a601280a (AT) phx (DOT) gbl... I am writing a Windows application (vb.net) and am using the axwebbrowser to navigate to HTTPS sites. The navigation to the sites produces the Security Alert dialog stating that the site name does not match the certificate name. This is okay and expected. I wrote a CertificatePolicy to always accept certificates and then assigned my new policy to the ServicePointManager.CertificatePolicy. The problem is that once I use the axwebbrowser to navigate to the site, the dialog still comes up. It seems as though the policy doesn't apply to the axwebbrowser. Any ideas/help/comments/suggestions? Thanks. . . |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |