Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Assets - SSL operation failed with code #1507

Open
thibaultjadoul opened this issue Sep 6, 2024 · 1 comment
Open

Import Assets - SSL operation failed with code #1507

thibaultjadoul opened this issue Sep 6, 2024 · 1 comment
Labels

Comments

@thibaultjadoul
Copy link

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
@i-just
Copy link
Contributor

i-just commented Sep 10, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants