Welcome Guest Search | Active Topics | Sign In | Register

A certificate error occured.Please handle CertificateError event. Options
clorest
Posted: Tuesday, December 15, 2015 9:50:22 PM
Rank: Advanced Member
Groups: Member

Joined: 6/24/2015
Posts: 39
This morning,I find an error called "A certificate error occured.Please handle CertificateError event".

I have use EO for nearly one year and more than 20 thousands customers are using my tool.So if I want to "handle CertificateError event", I must update all the exe for everyone. that is terrible.

So, why this error? why no error yesterday? Does my purchase outdate?

Please help. Thanks.
eo_support
Posted: Wednesday, December 16, 2015 7:24:04 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This event is raised when the browser engine detects that the server's certificate is invalid. For example, the server's certificate may have expired yesterday and that will trigger the problem. If you visit the same site with a regular browser, you will see a message that says there is an issue with the certificate and asking you whether you wish to proceed or not. The CertificateError event is the equivalent of this in EO.WebBrowser. So you can either fix the certificate issue or handle the CertificateError event.

Thanks!
David Jonsson
Posted: Wednesday, May 18, 2016 2:17:57 PM
Rank: Newbie
Groups: Member

Joined: 4/26/2016
Posts: 2
Hi,
We also see this error from time to time. Quite rare and very hard to track down.
We make web requests to more than one server all of them with SSL certs and some are behind a load balancer.
I've verified all SSL certs via my browser = OK

One of the servers happen to be a ADFS server and I'm kind of leaning towards that's the one... but I'm not sure.

Would any inner exception tell us which server throws the error?
eo_support
Posted: Wednesday, May 18, 2016 2:29:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi David,

If you are using our WebBrowser product, then you can just handle WebView.CertificateError event, inside the event you can get the Url through the event argument's Url property:

http://www.essentialobjects.com/doc/eo.webbrowser.webview.certificateerror.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.