ssl 命令
使用此命令可显示并配置 SSL 参数。
要启用 SSL 客户端,必须先安装客户端证书。在无任何选项的情况下运行 ssl 命令将显示 SSL 参数。下表显示选项的参数。
选项 | 描述 | 值 |
---|---|---|
-ce | 启用或禁用 SSL 客户端 | on 和 off |
-se | 启用或禁用 SSL 服务器 | on 和 off |
-cime | 在 SSL 服务器上启用或禁用 CIM over HTTPS | on 和 off |
语法:
portcfg [options]
options:
-ce state
-se state
-cime state
参数:以下参数会出现在 ssl 命令的选项状态显示中,并且仅从 CLI 输出:
- Server secure transport enable
- 此状态显示为只读,不能直接设置。
- Server Web/CMD key status
- 此状态显示为只读,不能直接设置。可能的命令行输出值如下所示:
- 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 server CSR key status
- 此状态显示为只读,不能直接设置。可能的命令行输出值如下所示:
- 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 client LDAP key status
- 此状态显示为只读,不能直接设置。可能的命令行输出值如下所示:
- 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 client CSR key status
- 此状态显示为只读,不能直接设置。可能的命令行输出值如下所示:
- 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
提供反馈