Skip to content

fetch(): fails due to CURL SSL Setting #84

Description

@smuglet

vendor/ibericode/vat/src/Clients/IbericodeVatRatesClient.php

fech() call to https://raw.githubusercontent.com/ibericode/vat-rates/master/vat-rates.json started failing for me. after digging is seems that the HTTPS certificate may be self-signed for the url and CURL doesn't like that with the CURLOPT_SSL_VERIFYPEER => true in the fetch call.

Seems to be be returning empty body and a zero status.

Either that or something else is at play but setting to false resolves the issue. Less secure of course. Is anyone else experiencing this issue? Perhaps I've identified it incorrectly and surprised its only impacting my usage.

Anyone else?

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