Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Ignore certificate errors

Post Reply
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Ignore certificate errors

Post 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
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Ignore certificate errors

Post 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
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Ignore certificate errors

Post 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/
Post Reply