コンフィグレーションガイド Vol.2


9.4.4 サーバ証明書と鍵の削除

運用コマンドclear web-authentication ssl-crtで,本装置に登録したサーバ証明書,秘密鍵,および中間CA証明書を削除します。次に手順を示します。

〈この項の構成〉

(1) サーバ証明書と鍵を削除する

装置管理者モードでログインして,運用コマンドclear web-authentication ssl-crtを実行して登録したサーバ証明書,秘密鍵,および中間CA証明書を削除します。

図9‒45 サーバ証明書と鍵の削除
# clear web-authentication ssl-crt
Would you wish to clear SSL key and certificate? (y/n):y              …1
Please restart web-authentication daemon or web-server daemon.
#
  1. yを入力すると,登録したサーバ証明書,秘密鍵,および中間CA証明書を削除します。

(2) 削除を確認する

運用コマンドshow web-authentication ssl-crtを実行して,サーバ証明書,秘密鍵,および中間CA証明書が削除されていることを確認します。

図9‒46 サーバ証明書と鍵の削除確認
# show web-authentication ssl-crt
Date 20XX/04/15 10:07:04 UTC
                            DATE
SSL key              :  default now
SSL certificate      :  default now
SSL intermediate cert:  -

(3) Webサーバを再起動する

運用コマンドrestart web-authentication web-serverを実行して,Webサーバを再起動します。

図9‒47 Webサーバの再起動
# restart web-authentication web-server

(4) Webサーバの起動を確認する

psコマンドを使用して,Webサーバ(httpd)が起動していることを確認します。

図9‒48 Webサーバの起動確認
# ps -auwx | grep httpd
root       471  0.0  0.1   212    672 ??  S     6:19PM  0:00.52 /usr/local/sbin/httpd -DS_WA -DSSL -DWA_SSL
operator 11070  0.0  0.1   164    556 00  S+    6:20PM  0:00.01 sh -c ps -auwx | grep httpd
operator 11421  0.0  0.0    32     36 00  R+    6:20PM  0:00.00 grep httpd