HTTPS Post request and ignore_certificate_errors switch

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.

HTTPS Post request and ignore_certificate_errors switch

Postby smayoral » Wed Nov 25, 2020 10:23 am

Hi,
I am using Chromium cef_binary_79.1.38+gecefb59+chromium-79.0.3945.130_windows32 for my application.
I have a website which is loaded through my local webserver with HTTP:

http://localhost/example.com/...

at some point Javascript try to make a HTTPS POST Request to https://example.com/...

I am using the ignore_certificate_errors switch but I am getting following error:

[1124/153658.157:ERROR:ssl_client_socket_impl.cc(935)] handshake failed; returned -1, SSL error code 1, net_error -200

Anyone any idea why Chromium fails for this request?
I have also implemented the OnCertificateError Callback but this method is not being called.

Regards,
Sergio
smayoral
Techie
 
Posts: 39
Joined: Wed Jan 10, 2018 8:58 am

Re: HTTPS Post request and ignore_certificate_errors switch

Postby magreenblatt » Wed Nov 25, 2020 10:33 am

Subresource requests with invalid certificates will fail without calling OnCertificateError.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 81 guests