Link to home
Start Free TrialLog in
Avatar of ttta83
ttta83

asked on

C# Open web page with certificate error

I'm using Process.Start('https://someurl").  This url has certificate error:

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).  

Open in new window


Is there a way to tell C# to click on "Continue to this website (not recommended)" link automatically after the program opened the web page?

Thanks,
Avatar of Rick
Rick

Is it not better to fix the website's certificate issue?

Or you could the http address instead of the https one.
Avatar of ttta83

ASKER

cannot fix the web's certificate issue now.

I got the same error page when I used "http"

Is there a way to do click on that link automatically after calling process.start in C#?

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of Rick
Rick

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ttta83

ASKER

Thanks