Welcome Guest Search | Active Topics | Sign In | Register

Error: A Certificate occured...How to fix it? Options
tuan
Posted: Saturday, August 8, 2015 4:15:23 AM
Rank: Member
Groups: Member

Joined: 10/9/2014
Posts: 19
when my app use eo web browser and run on XP OS i get infor:

"A Certificate occured. Please handle CertificateError event"

How to fix it?

i'm can see: NeedClientCertificate and NeedCredentials only.

where's CertificateError event?
Jim B
Posted: Sunday, August 9, 2015 7:51:12 AM
Rank: Advanced Member
Groups: Member

Joined: 1/31/2015
Posts: 70
Hello tuan,

What we do for this scenario is:

Code: C#
webview.CertificateError += webview_CertificateError;


and then define the override:

Code: C#
void webview_CertificateError(object sender, EO.WebBrowser.CertificateErrorEventArgs e)
       {
           e.Continue();
       }


So we let the flow continue and then we handle the certificates using the 2 methods you wrote: NeedClientCertificate and NeedCredentials

Hope it helps

jim
eo_support
Posted: Monday, August 10, 2015 1:08:35 PM
Rank: Administration
Groups: Administration

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

Thank you very much for helping us out!
Moojjoo
Posted: Wednesday, March 16, 2016 10:56:43 AM
Rank: Newbie
Groups: Member

Joined: 1/19/2016
Posts: 2
VB.NET ---

Code: Visual Basic.NET
'After Load ---
Public Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        AddHandler Me.WebView1.CertificateError, New EO.WebBrowser.CertificateErrorHandler(AddressOf webview_CertificateError)



Code: Visual Basic.NET
Private Sub webview_CertificateError(sender As Object, e As EO.WebBrowser.CertificateErrorEventArgs)
        e.Continue()
    End Sub


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.