運用コマンドレファレンス Vol.1


set web-authentication ssl-crt

SSL通信用のサーバ証明書および秘密鍵を登録します。また,中間CA証明書を,サーバ証明書および秘密鍵と一緒に登録できます。

なお,本コマンドで登録したサーバ証明書,秘密鍵,および中間CA証明書を有効にするには,restart web-authenticationコマンドでWeb認証を再起動するか,restart web-authentication web-serverコマンドでWebサーバを再起動する必要があります。

[入力形式]

set web-authentication ssl-crt

[入力モード]

装置管理者モード

[パラメータ]

なし

[スタック構成時の運用]

未サポートです。

[実行例]

SSL通信用のサーバ証明書,秘密鍵,および中間CA証明書を登録する実行例を次に示します。

# set web-authentication ssl-crt
Set path to the key: serverinstall.key
Set path to the certificate: server.crt
Set path to the intermediate CA certificate: ca.crt
Would you wish to install SSL key and certificate? (y/n):y
Install complete.
Please restart web-authentication daemon or web-server daemon.
#

[表示説明]

なし

[通信への影響]

なし

[応答メッセージ]

表32‒28 set web-authentication ssl-crtコマンドの応答メッセージ一覧

メッセージ

内容

Can't execute.

コマンドを実行できません。再実行してください。

Install operation failed.

登録に失敗しました。

No such file.

指定されたファイルは存在しません。

[注意事項]