🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Record an SSL error Warning: getimagesize(): SSL operation failed with code 1

Today, while installing a Theme for a foreign trade independent website, after importing the Demo data, an error appeared on the frontend where images should display, with the following content:
Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /www/wwwroot/*/wp-content/themes/*/framework/class-image.php on line 120

Warning: getimagesize(): Failed to enable crypto in /www/wwwroot/*/wp-content/themes/*/framework/class-image.php on line 120

Warning: getimagesize(https://*/wp-content/uploads/2021/02/video-opacity-tiny.png): failed to open stream: operation failed in /www/wwwroot/*/wp-content/themes/*/framework/class-image.php on line 120
The cause of this issue is a certificate problem. The solution is as follows: 1. Download the cert certificate to any location on the server, address: https://curl.haxx.se/ca/cacert.pem 2. Modify openssl.cafile= in the php.ini configuration file to openssl.cafile=server directory/cacert.pem 3. Re-execute the operation~ ———————————————— Method source: https://blog.csdn.net/default7/article/details/77008973

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow