B.2. gateway cert export

从 SGD Gateway 密钥库导出 SGD Gateway 证书。

语法

gateway cert export --certfile file-name

描述

从位于 /opt/SUNWsgdg/proxy/etc/keystore 的 SGD Gateway 密钥库导出 SGD Gateway 证书。该证书写入由 --certfile 选项指定的文件。

为访问 SGD Gateway 密钥库,此命令使用 /opt/SUNWsgdg/etc/password 中的密码。如果未提供此文件,则该命令会提示输入密码。

示例

下列示例将 SGD Gateway 证书从 SGD Gateway 密钥库导出到文件 gateway1.pem 中。

# /opt/SUNWsgdg/bin/gateway cert export --certfile gateway1.pem