B.17. gateway sslcert export

Exports the SGD Gateway SSL certificate from the client keystore.

Syntax

gateway sslcert export --certfile cert-file

Description

Exports the SGD Gateway SSL certificate from the client keystore, at /opt/SUNWsgdg/proxy/etc/keystore.client. The certificate is written to the file specified by the --certfile option.

To access the client keystore, this command uses the password in /opt/SUNWsgdg/etc/password. If this file is not present, the command prompts for a password.

Examples

The following example exports the SGD Gateway SSL certificate from the client keystore to the file, gateway-ssl.pem.

# /opt/SUNWsgdg/bin/gateway sslcert export --certfile gateway-ssl.pem