Php function not working - getimagesize()

I need to help. Php function not working - getimagesize().
Problem SSL.

Error: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Page error:

May I ask if you’re fetching an image via URL from the Website which uses Cloudflare, or locally? :thinking: Are you the Website owner or not?

1 Like

Site is my.
The image has already been uploaded (locally, on the server).
I refer to images in getimagesize()

This shows, that this is an internal error, not a Cloudflare related one. Please have a read here: php - "getimagesize(): SSL operation failed with code 1" on local Xampp only - Stack Overflow

Your webserver probably does not have any, or no current CA-Certs. So can not validate any URL it needs to fetch.

Also: if you have the picture already on your server itself. Why do you try to fetch the public URL of the picture?

Instead of fetching the public URL:

you could simply access it internally:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.