Linux KUSANAGIの環境でwordpressでホームページを運用しています。
昨年、以下のコマンドで証明書を反映しました。
txt
1kusanagi ssl --cert /etc/nginx/conf.ssl/example.com/domainname.crt --key /etc/nginx/conf.ssl/example.com/domainname.key example.com 2nginx -s reload
今年、証明書の更新を行い、新しい証明書をサーバへ反映させる為、
txt
1/etc/nginx/conf.ssl/example.com2/
のディレクトリを作成し、この中に証明書(中間証明書も結合したもの)と秘密鍵をいれ
以下のコマンドを実行しました。
txt
1kusanagi ssl --cert /etc/nginx/conf.ssl/example.com2/domainname.crt --key /etc/nginx/conf.ssl/example.com2/domainname.key example.com 2nginx -s reload
表記コマンド実行後、新しい証明書へ切り替わる筈だと思っておりましたが、古い証明書のままになっており、新しい証明書の切り替えができません。
何卒情報ご提供をお願いします。
あなたの回答
tips
プレビュー