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
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
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Ignore certificate errors
Hi,
Add this code before the GlobalCEFApp.StartMainProcess call in the DPR file :
You can test it in badssl.com
Add this code before the GlobalCEFApp.StartMainProcess call in the DPR file :
Code: Select all
GlobalCEFApp.IgnoreCertificateErrors := True;
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Ignore certificate errors
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/
https://talk.plesk.com/threads/lets-encrypt-root-certificate-expiration-on-30-september-2021.362224/