Welcome Guest Search | Active Topics | Sign In | Register

Certificate Information Options
Michael
Posted: Monday, June 16, 2014 5:22:31 AM
Rank: Member
Groups: Member

Joined: 6/16/2014
Posts: 25
Hello EO Team.
We are just evaluating the webbrowser component. We currently use the IE Webbrowser Control but we have to switch to a "more actual" component, that ist supported by Windows XP.

I would need information about the certificate, that is used by the remote web server. Is there any chance to get more information than just the certificate error?

An issue is also the already mentioned problems with Youtube (fullscreen) and the flash slowdown.

Best Regards,
Michael
eo_support
Posted: Monday, June 16, 2014 9:41:49 AM
Rank: Administration
Groups: Administration

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

I am not sure if I understand your question correctly. If a certificate error occurs, the CertificateError event will be raised. Inside the event handler you can check the event argument's ErrorCode to determine what kind of certificate error it is. See here for more details:

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

Thanks!
Michael
Posted: Monday, June 16, 2014 9:51:29 AM
Rank: Member
Groups: Member

Joined: 6/16/2014
Posts: 25
Hi,
thank you for your fast reply!

I would need Information about the certificate. The Webbrowser Control fires an event, if a secure connection is used (https) with some encryption information. I would need the information about the used certificate whenever a secure connection is used. (Event and certification information).

If you go to a https-URL with chrome, you get certification info when you right-click on left beside the url.

Best regards,
Michael
eo_support
Posted: Monday, June 16, 2014 9:57:53 AM
Rank: Administration
Groups: Administration

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

I see. I do not think we have any interface for you to view that yet in the current build. But we will look into it and see if it is easy for us to expose it. If it is easy for us to expose it, we can maybe add a property or method on the WebView class for you to get the certificates used for the current page.

Thanks!
penright
Posted: Monday, November 6, 2023 8:43:47 AM

Rank: Advanced Member
Groups: Member

Joined: 10/30/2017
Posts: 43
eo_support wrote:
Hi,
we can maybe add a property or method on the WebView class for you to get the certificates used for the current page.


Were you able to add it? I tried to use IntelliSense with VB.net, but I didn't see it.
eo_support
Posted: Monday, November 6, 2023 1:31:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
penright wrote:
Were you able to add it? I tried to use IntelliSense with VB.net, but I didn't see it.


Hi,

We will add this in our next build and reply here again when the new build is available.

Thanks!
eo_support
Posted: Monday, November 13, 2023 1:34:23 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have posted a new build (23.3.84) that added this method:

https://www.essentialobjects.com/doc/eo.webbrowser.webview.getsslstatus.html

If the current page is not loaded through an HTTPS connection, then it will return null. Otherwise it returns the status and SSL server certificate.

Thanks!
penright
Posted: Monday, November 13, 2023 1:41:22 PM

Rank: Advanced Member
Groups: Member

Joined: 10/30/2017
Posts: 43
eo_support wrote:
If the current page is not loaded through an HTTPS connection, then it will return null. Otherwise it returns the status and SSL server certificate.

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.