btcpayserver-php-client icon indicating copy to clipboard operation
btcpayserver-php-client copied to clipboard

SSL certificate problem: certificate has expired (outdated ca-bundle.crt)

Open jorijn opened this issue 2 years ago • 1 comments

When attempting to contact a BTCPayServer instance behind a LetsEncrypt certificate:

In CurlAdapter.php line 78:
  SSL certificate problem: certificate has expired

I found that the bundled ca-bundle.crt is very old. URL of the (a?) new CA bundle: https://curl.se/ca/cacert.pem

Locally this fixed my issue.

jorijn avatar Oct 31 '21 19:10 jorijn