<p>I'm working on an import of a feed from a Simple Machines Forum (SMF) which contains images from lots of external sources. Some of the images are importing OK, but most of them are failing with:</p>
<blockquote>
<p>fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.</p>
</blockquote>
<p>I haven't been through all of the ones that have failed, but each one I've looked at, I can open directly in a browser tab. Most of them are <code>https</code> addresses. Some are <code>http</code> addresses that redirect to <code>https</code> versions.</p>
<p>Most of the ones that are failing are from <code>i.imgur.com</code> or the client's own domain (although I'm doing the import on my local copy of the site at the moment).</p>
<p>Has anyone else ever come across similar errors and how did you resolve them?</p>
<p>EDIT: Just discovered that the client's domain is being protected by Cloudflare.</p>

CC BY-SA 4.0
2021-04-23T17:57:37.840Z
Sounds like you've got a bad/out-of-date/misconfigured local certificate on whatever sever you're triggering the import on. Not really Craft related, but tons of potential things to look through to fix/workaround: https://www.google.com/search?q=%2B%22tls_process_server_certificate%3Acertificate%22
Brad Bell
CC BY-SA 4.0
2021-04-23T21:09:05.527Z
So the problem is with the server that Craft is on, that we're importing into, not the remote server that we're getting the images from?
Tyssen
CC BY-SA 4.0
2021-04-23T23:11:19.727Z
That would be my guess based on the error...
Brad Bell
<plugin-feedme>
FeedMe certificate verification issues
# FeedMe certificate verification issues

(Asked by: username_0 on 2021-04-23)

I'm working on an import of a feed from a Simple Machines Forum (SMF) which contains images from lots of external sources. Some of the images are importing OK, but most of them are failing with:

> fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls\_process\_server\_certificate:certificate verify failed.

I haven't been through all of the ones that have failed, but each one I've looked at, I can open directly in a browser tab. Most of them are `https` addresses. Some are `http` addresses that redirect to `https` versions.

Most of the ones that are failing are from `i.imgur.com` or the client's own domain (although I'm doing the import on my local copy of the site at the moment).

Has anyone else ever come across similar errors and how did you resolve them?

EDIT: Just discovered that the client's domain is being protected by Cloudflare.

**Tags:** plugin-feedme
> **Comments:**
> **username_1**: Sounds like you've got a bad/out-of-date/misconfigured local certificate on whatever sever you're triggering the import on. Not really Craft related, but tons of potential things to look through to fix/workaround: https://www.google.com/search?q=%2B%22tls_process_server_certificate%3Acertificate%22  
> **username_0**: So the problem is with the server that Craft is on, that we're importing into, not the remote server that we're getting the images from?  
> **username_1**: That would be my guess based on the error...  

---

## 0 answers

