XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
87 stars 64 forks source link

cURL Error 60 when connecting to identity.xero.com #329

Open myworks-peter opened 11 months ago

myworks-peter commented 11 months ago

SDK you're using (please complete the following information):

Describe the bug Beginning at 2023-07-21 03:28:22; we're now getting an error on our end when connecting to Xero using this library, which seems to indicate an SSL issue on Xero's end?

[2023-07-21 03:28:22] local.ERROR: cURL error 60: SSL: no alternative certificate subject name matches target host name 'identity.xero.com' (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://identity.xero.com/connect/token {"exception":"[object] (GuzzleHttp\\Exception\\RequestException(code: 0): cURL error 60: SSL: no alternative certificate subject name matches target host name 'identity.xero.com' (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://identity.xero.com/connect/token at

To Reproduce Steps to reproduce the behavior:

  1. Connect to Xero or update a refresh token as normal using this library

Expected behavior A successful connection to Xero.

Additional context This seems quite odd to us, as nothing seems to have changed / we're not seeing any updates/status messages about this on Xero's end. We're still investigating this further to find more information on our end, but due to the above error message, we're reaching out here. It seems that there's a recently updated SSL certificate on *.xero.com, which may be a possible factor here?

github-actions[bot] commented 11 months ago

PETOSS-317

github-actions[bot] commented 11 months ago

Thanks for raising an issue, a ticket has been created to track your request