Public Key Pinning

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Public Key Pinning

Postby DJackson » Tue Aug 09, 2016 8:05 pm

Is it possible to perform public key pinning for HTTPS connections in CEF3? The goal is to only allow the application to communicate with one or two servers.
I know Curl offers this functionality ( https://curl.haxx.se/libcurl/c/CURLOPT_ ... ICKEY.html), but does CEF3?
DJackson
Techie
 
Posts: 11
Joined: Fri Jan 22, 2016 3:48 pm

Re: Public Key Pinning

Postby Czarek » Wed Aug 10, 2016 1:09 am

If checking domain is enough then you can cancel navigation in CefRequestHandler::OnBeforeBrowse.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 12 guests