Page 1 of 1

Ignore certificate errors

Posted: Thu Sep 30, 2021 8:44 pm
by thefunkyjoint
Is there a way to make CEF4Delphi ignore certificate erros, specially the cert_date_invalid ?

It seems in Chrome you can use the switch -ignore-certificate-errors to do this ; how can i do the same in CEF4Delphi app ?

Thanks

Re: Ignore certificate errors

Posted: Fri Oct 01, 2021 7:15 am
by salvadordf
Hi,

Add this code before the GlobalCEFApp.StartMainProcess call in the DPR file :

Code: Select all

GlobalCEFApp.IgnoreCertificateErrors := True;
You can test it in badssl.com

Re: Ignore certificate errors

Posted: Fri Oct 01, 2021 10:51 am
by thefunkyjoint
Great, it worked ! Problem is , machines with old OS are getting these certificate error since yesterday, due to a expired certificate :

https://talk.plesk.com/threads/lets-encrypt-root-certificate-expiration-on-30-september-2021.362224/