Avast + Curl SSL Revocation Problem

Anonymous
2024-09-07T18:34:24+00:00

Good day,

just throwing this out here as a well-known bug report that still hasn't been fixed years later. Using avast Antivirus' web shield makes curl for Windows stop working with the error message


curl: (35) schannel: next InitializeSecurityContext failed: CRYPT\_E\_NO\_REVOCATION\_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.

The obvious workaround is using the --ssl-no-revoke flag, but this is still annoying since other apps like git for Windows rely on curl for updates, so I have to disable my AV whenever I want to update.

Any plans on fixing the SSL certs?

Windows for business Windows Client for IT Pros Networking Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2024-09-09T06:21:43+00:00

    Hello

    Thank you for posting in Microsoft Community forum.

    This issue is indeed a common bug, and many users have encountered curl-related errors while using Web Shield by Avast Antivirus. The error message indicates that curl failed when trying to initialize the security context because the certificate could not be checked for revocation status. This is usually due to Avast's Web Shield interfering with the normal operation of curl while handling SSL/TLS connections.

    Solutions:

    Use the --ssl-no-revoke flag: As you mentioned, this is a valid temporary solution. By adding this flag, curl will skip the certificate revocation check, thus avoiding errors. While this solves the problem, it does have a security impact, especially when dealing with sensitive data.

    Disabling Avast's Web Shield: While this isn't an ideal solution, temporarily disabling Web Shield can avoid this problem when you need to update with curl or git.

    Update Avast: Make sure your Avast Antivirus is up to date. Sometimes, a software update may fix compatibility issues with other apps.

    Contact Avast Support: If this issue persists, it is recommended to report the issue to Avast's technical support. They may provide a more specific solution or fix this in a future update. Please refer to

    Home | Official Avast Support

    Other suggestions:

    Use a different antivirus: If this issue is seriously affecting your workflow, consider using another antivirus software that may have better compatibility.

    Check your system settings: Make sure your Windows system and curl are up to date, sometimes system updates can affect SSL/TLS processing.

    In conclusion, this issue is really annoying, especially when other applications that rely on curl are also affected. Hopefully, Avast will be able to address this issue in a future release.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    

    Regards,

    Jill Zhou

    0 comments No comments

0 additional answers

Sort by: Most helpful