Author Topic: Avast WebShield + cURL SSL Revokation Exception  (Read 359 times)

0 Members and 1 Guest are viewing this topic.

Offline IsraTech Support

  • Newbie
  • *
  • Posts: 1
Avast WebShield + cURL SSL Revokation Exception
« on: September 07, 2024, 08:38:38 PM »
Good day,

Enabling Avast Antivirus' WebShield and then attempting to use the built-in cURL for Windows always results in the following error:

```
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 doesnt work for software like git for Windows which relies on cURL for software-updates, forcing me to disable my AV's WebShield for updates.

This has been a well-known problem for quite some time, any plan on fixing it?

Offline NON

  • Japanese User
  • Avast Überevangelist
  • Ultra Poster
  • *****
  • Posts: 5600
  • Whatever will be, will be.
Re: Avast WebShield + cURL SSL Revokation Exception
« Reply #1 on: September 09, 2024, 02:20:41 AM »
Confirmed here. Hopefully some Avast team member taking a look into this...
Desktop: Win10 Pro 22H2 64bit / Core i5-7400 3.0GHz / 32GB RAM / Avast Premium Beta(Icarus) / Comodo Firewall
Notebook: Win10 Pro 22H2 64bit / Core i5-3340M 2.7GHz / 12GB RAM / Avast Free / Windows Firewall Control
Server: Win11 Pro 23H2 64bit / Core i3-4010U 1.7GHz / 12GB RAM / Avast One Essential

Avast の設定について解説しています。よろしければご覧ください。

Offline kresimir.ivkovic

  • Newbie
  • *
  • Posts: 1
Re: Avast WebShield + cURL SSL Revokation Exception
« Reply #2 on: September 10, 2024, 12:28:26 PM »
And I have this BIG PROBLEM for all my developer products. HORROR
Please how to FIX IT.

Code error sample:
PHP Fatal error:  Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.coingecko.com/api/v3/simple/price?ids=moviebloc&vs_currencies=usd in D:\BipBip\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:276
Stack trace:
#0 D:\BipBip\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(205): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 D:\BipBip\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(157): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 D:\BipBip\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(47): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#3 D:\BipBip\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#4 D:\BipBip\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(48): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#5 D:\BipBip\vendor\guzzlehttp\guzzle\src\PrepareBodyMiddleware.php(35): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#6 D:\BipBip\vendor\guzzlehttp\guzzle\src\Middleware.php(31): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#7 D:\BipBip\vendor\guzzlehttp\guzzle\src\RedirectMiddleware.php(71): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#8 D:\BipBip\vendor\guzzlehttp\guzzle\src\Middleware.php(66): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#9 D:\BipBip\vendor\guzzlehttp\guzzle\src\HandlerStack.php(75): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#10 D:\BipBip\vendor\guzzlehttp\guzzle\src\Client.php(333): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#11 D:\BipBip\vendor\guzzlehttp\guzzle\src\Client.php(169): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)
#12 D:\BipBip\vendor\guzzlehttp\guzzle\src\Client.php(189): GuzzleHttp\Client->requestAsync('GET', Object(GuzzleHttp\Psr7\Uri), Array)
#13 D:\BipBip\vendor\codenix-sv\coingecko-api\src\Api\Api.php(35): GuzzleHttp\Client->request('GET', '/api/v3/simple/...', Array)
#14 D:\BipBip\vendor\codenix-sv\coingecko-api\src\Api\Simple.php(23): Codenixsv\CoinGeckoApi\Api\Api->get('/simple/price', Array)
#15 D:\BipBip\geteuro.php(192): Codenixsv\CoinGeckoApi\Api\Simple->getPrice('moviebloc', 'usd')
#16 D:\BipBip\getmbl.php(74): getCoinGeckoAPI('moviebloc')
#17 {main}
  thrown in D:\BipBip\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 276