跳至主要内容

ssl 指令

使用此指令可顯示和配置 SSL 參數。

必須安裝用戶端憑證,才能啟用 SSL 用戶端。在沒有選項的情況下執行 ssl 指令可顯示 SSL 參數。下表顯示各選項的引數。

表 1. ssl 指令.

下表是由多個橫列與三個直欄組成的表格,其中包括各選項、選項描述和選項的相關值。

選項說明
-ce啟用或停用 SSL 用戶端on、off
-se啟用或停用 SSL 伺服器on、off
-cime在 SSL 伺服器上啟用或停用 CIM over HTTPSon、off
語法:
portcfg [options]
options:
-ce state
-se state
-cime state
參數:下列參數會呈現在 ssl 指令的選項狀態顯示畫面中,並且僅從 CLI 進行輸出:
啟用伺服器安全傳輸
此狀態顯示是唯讀且無法直接設定。
伺服器 Web/CMD 金鑰狀態
此狀態顯示是唯讀且無法直接設定。可能的指令行輸出值如下:
  • Private Key and Cert/CSR not available
  • Private Key and CA-signed cert installed
  • Private Key and Auto-gen self-signed cert installed
  • Private Key and Self-signed cert installed
  • Private Key stored, CSR available for download
SSL 伺服器 CSR 金鑰狀態
此狀態顯示是唯讀且無法直接設定。可能的指令行輸出值如下:
  • Private Key and Cert/CSR not available
  • Private Key and CA-signed cert installed
  • Private Key and Auto-gen self-signed cert installed
  • Private Key and Self-signed cert installed
  • Private Key stored, CSR available for download
SSL 用戶端 LDAP 金鑰狀態
此狀態顯示是唯讀且無法直接設定。可能的指令行輸出值如下:
  • Private Key and Cert/CSR not available
  • Private Key and CA-signed cert installed
  • Private Key and Auto-gen self-signed cert installed
  • Private Key and Self-signed cert installed
  • Private Key stored, CSR available for download
SSL 用戶端 CSR 金鑰狀態
此狀態顯示是唯讀且無法直接設定。可能的指令行輸出值如下:
  • Private Key and Cert/CSR not available
  • Private Key and CA-signed cert installed
  • Private Key and Auto-gen self-signed cert installed
  • Private Key and Self-signed cert installed
  • Private Key stored, CSR available for download