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

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

Today, while installing a theme for a foreign trade website, after importing the Demo data, an error occurred at the location where the website frontend images should be displayed. The content is as follows:
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 problem is a certificate issue. 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 and it should work~ ———————————————— Method source: https://blog.csdn.net/default7/article/details/77008973

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

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the 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 QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: