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,
ttta83Asked:
Who is Participating?
 
RickCommented:
You shouldn't get that error on http. Try flushing the dns cache.
... and no, you can't make the process click on "Continue to this website...", sorry.
0
 
RickCommented:
Is it not better to fix the website's certificate issue?

Or you could the http address instead of the https one.
0
 
ttta83Author Commented:
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,
0
 
ttta83Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.