feed-me icon indicating copy to clipboard operation
feed-me copied to clipboard

Import Assets - SSL operation failed with code

Open thibaultjadoul opened this issue 1 year ago • 1 comments

Description

I've set up a Feed that lets me import products for Craft Commerce. I also want to import images as Assets but I have an SSL certificate error even though it is valid.

productImage - Asset error: https://.../article/picture/3fd0ce6e-e2ee-479b-a0d0-02f1099d48a7 - fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed

I had the same error for the request to the Json Feed that I solved via this parameter in the config feed-me.php .

return [
    '*' => [
        'clientOptions' => [
            'verify' => false,
        ],
    ],
];

Is there an identical parameter for requests to assets? Can I fix this via the Guzzle settings?

Additional info

  • Craft version: 5.4.1
  • Craft Commerce version : 5.1.0.1
  • PHP version: 8.2.22
  • Database driver & version: MySQL 8.0.36

thibaultjadoul avatar Sep 06 '24 11:09 thibaultjadoul

Hi, thanks for getting in touch! There’s an assetDownloadCurl config option that you could try, but it sounds like there might be an underlying (not Feed Me related) problem causing both issues you mentioned.

Are you getting this issue in your local development environment?

i-just avatar Sep 10 '24 15:09 i-just