Access to SSLInfo

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Access to SSLInfo

Postby lkitrossky » Wed Jul 22, 2015 9:05 am

Hi! How can I access SSLInfo in my application? I need to do additional tests on certificates. Thank, Levi
lkitrossky
Mentor
 
Posts: 66
Joined: Tue Mar 24, 2015 7:26 am

Re: Access to SSLInfo

Postby magreenblatt » Wed Jul 22, 2015 11:50 am

It is already exposed via CefSSLInfo. See https://bitbucket.org/chromiumembedded/cef/issues/1530.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Access to SSLInfo

Postby lkitrossky » Wed Jul 22, 2015 3:41 pm

It is written there:
The CefRequestHandler::OnCertificateError method is called from CefContentBrowserClient::AllowCertificateError when attempting to visit an HTTPS page with an invalid SSL certificate.
Bit how I get it when there is no certificate error? I just want to analyse the certificate, even if the certificate is OK Thanks, Levi
lkitrossky
Mentor
 
Posts: 66
Joined: Tue Mar 24, 2015 7:26 am

Re: Access to SSLInfo

Postby PolesApart » Wed Jul 22, 2015 3:44 pm

Does it get called even for valid SSL info? The description on the bug page talks about a fallback for self-signed certificates but I wonder about regular ones. Thanks.
PolesApart
Mentor
 
Posts: 73
Joined: Fri Dec 05, 2014 1:24 pm

Re: Access to SSLInfo

Postby magreenblatt » Wed Jul 22, 2015 4:46 pm

PolesApart wrote:Does it get called even for valid SSL info?

No, it only gets called for invalid certificates. A new callback would be required to get certificate info for valid certificates.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Access to SSLInfo

Postby lkitrossky » Tue Jul 28, 2015 4:45 pm

A new callback would be required to get certificate info for valid certificates

Suppose we will add such a callback, where we need to add such a thing? Thanks,
lkitrossky
Mentor
 
Posts: 66
Joined: Tue Mar 24, 2015 7:26 am

Re: Access to SSLInfo

Postby ari37086 » Sun Aug 23, 2015 2:05 am

I am interested too to obtain an access to SSLInfo, please, send a hint, where I add a callback.
ari37086
Techie
 
Posts: 28
Joined: Thu Feb 19, 2015 10:50 am

Re: Access to SSLInfo

Postby lkitrossky » Thu Sep 03, 2015 4:58 pm

Since there is no answer, I asked on another forum: https://groups.google.com/a/chromium.or ... EPLreYz470
Levi
lkitrossky
Mentor
 
Posts: 66
Joined: Tue Mar 24, 2015 7:26 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 49 guests