btcpayserver / btcpayserver-php-client

PHP implementation for the BTCPayServer cryptographically secure RESTful API
MIT License
29 stars 33 forks source link

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

Open jorijn opened 2 years ago

jorijn commented 2 years ago

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.

BitcoinMitchell commented 2 years ago

From what I understand this has been resolved via https://github.com/btcpayserver/btcpayserver-php-client/pull/52 and a new release was made.