473,466 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

axwebbrowser and certificate validation

I have an windows form that contains an axwebbrowser. I amaccessing asp pages via https. A Security Alert dialog appearsbecause the site I am accessing does not match the name on thecertificate. I want to accept all the Security Alerts thatappear. The only thing I am doing to get the site to appear inthe axwebbrowser is
axwebbrowser.navigate(website). I tried setting theServicePointManager.CertificatePolicy = newAcceptAllCertificatePolicy() where this new certificate policyalways returns true so that all certificates are accepted, but Iam still getting the Security Alert dialogs. What am I doingwrong?

Thanks!
--------------------------------
From: Susan Lopez

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>t3HIjg1ld0e8Tf7Ufw0kIg==</Id>
Nov 20 '05 #1
0 1041

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Matt Frame | last post by:
I am working on a special ASP.Net application that receives files from customers. The connection is made via HTTPS and the client sends the file as a POST to my ASP.Net listener. All of this...
3
by: jmhmaine | last post by:
How do I programmatically read an SSL certificate when using connecting with WebClient? I need to verify the domain name matches the certificate and that the Expiration Date is valid before I post...
0
by: jens Jensen | last post by:
Hello, I'm trying to connect to a system via https. As an additional security measure, the server requires me to attach an x509 certs to my "HTTP POST" request. I get the error...
0
by: alessio.cesana | last post by:
Hi everybody, hope someone can help me. I have to send an authenticated mail message throught an ssl smtp server using .net 1.1 framework libraries. The problem is that server certificate is not...
1
by: Yogesh Chawla - PD | last post by:
Hello All, I work for the State of Wisconsin and we are trying to build a reference implementation using python. Our goals are this: 1) establish an HTTPS connection between our client and...
1
by: mike | last post by:
I am trying to implement FtpWebRequest with EnableSsl = true. The WS_FTP server has our VeriSign Server Certificate installed and with the WS_FTP Pro client am able to connect. However, with...
0
by: xievvv | last post by:
I am trying to have a SslStream client and an SslStream server mutually authenticate and communicate with each other, over TCP. So when I call the methods AuthenticateAsClient() and...
0
by: Fette | last post by:
I am using the AxSHDocVw.AxWebBrowser navigate2() method to launch the login web service for my application. IIS has been configured to require client side certificates. I am using a smart card...
2
by: Yves Gagnon | last post by:
Hi, I need to develop a WCF on a ms certificat autority that will revoke an existing certificate. My question: how to do that ? witch tool (c#) ? Do you have sample code that do that ? Thanks...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.