Home Experience & Tips Sharing Standard Post

Standard Post

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 was reported at the image display position on the front end. The content is as follows: Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error message...

Posted on October 11, 2021 About 2 minutes read

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. URL: https://curl.haxx.se/ca/cacert.pem
2. Modify the openssl.cafile= in the php.ini configuration file to openssl.cafile=server directory/cacert.pem
3. Re-execute it~
————————————————
Source: https://blog.csdn.net/default7/article/details/77008973

3/5 - (2 votes)
Previous Dreamweaver DEDECMS to WordPress and Other CMS System Tutorial Methods Summary Continue reading content around the same timeline. Next How to Change Servers for WordPress? WordPress Migration Tutorial View the next related tutorial or experience.

AI Website Building Assistant

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