Skip to content

Update cacert.pem #552

@cgray-inovitech

Description

@cgray-inovitech

Update your cacert.pem file. This thing is 6 years old.
https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/master/src/Core/OAuth/OAuth2/certs/cacert.pem

I tried executing a request from a Windows Server 2022 machine where no primary PEM was configured in php.ini. It threw the following error:
Exception 'QuickBooksOnline\API\Exception\SdkException' with message 'cURL error during making API call. cURL Error Number:[60] with error:[SSL certificate problem: self signed certificate in certificate chain]'

I fixed the issue by installing a trusted PEM in php.ini. However, the fallback cert should also work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions