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この問題の原因は証明書の問題です。解決方法は以下の通りです: 1. cert証明書をサーバーの任意の場所にダウンロードします。アドレス:https://curl.haxx.se/ca/cacert.pem 2. php.ini設定ファイル内のopenssl.cafile=をopenssl.cafile=サーバーディレクトリ/cacert.pemに変更します 3. 再度実行します。 ———————————————— 方法の出典:https://blog.csdn.net/default7/article/details/77008973
SSLエラー「Warning: getimagesize(): SSL operation failed with code 1」の記録
今日、ある外国貿易向けサイトにテーマをインストールしている際、デモデータのインポートが完了した後、サイトのフロントエンドで画像が表示される位置でエラーが発生しました。内容は以下の通りです:
🚀 チュートリアルを見てもまだ迷っていますか?私が手取り足取りご案内しましょう
「WordPressサイト構築伴走」——ドメイン選び、ホスティング購入から、テーマのインストール、公開、投稿まで、すべてのステップで私が伴走します。遠回りせず、目標に直行できます。
👉 サイト構築伴走サービスを詳しく見る
コメントは終了しました
この記事のコメント機能は終了しています。ご質問がある場合は、他の方法でお問い合わせください。