Hello,
Welcome to Microsoft Q&A!
ERROR_INTERNET_SEC_CERT_REV_FAILED: 12057 Revocation of the SSL certificate failed.
As you said, you have to remove security checks from Internet Option to fix problem. As far as I'm concerned, there are two ways to fix 12057.
1, Through the code:
You could try to append SECURITY_FLAG_IGNORE_REVOCATION
to INTERNET_OPTION_SECURITY_FLAGS
to ignore certificate revocation problems.
Refer to the Doc: Setting and Retrieving Internet Options
2, Through UI settings:
You could try to set the internet properties via the UI: Internet Properties -> Advanced ->Security.
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.