D.94. tarantella security selfsign

生成并安装自签名的服务器 SSL 证书。

语法

tarantella security selfsign

描述

生成并安装自签名的服务器 SSL 证书。使用此命令之前必须运行 tarantella security certrequest 命令。

请将自签名的服务器 SSL 证书仅用于测试环境,因为自签名 SSL 证书并非真正安全。尽管可以使用自签名的服务器 SSL 证书为用户提供安全连接,但用户不能保证其所连接的服务器不是伪装的。自签名证书的有效期为 365 天。

示例

以下示例将生成并安装自签名的服务器 SSL 证书。

# tarantella security selfsign