B.2. gateway cert export

Exports the SGD Gateway certificate from the SGD Gateway keystore.

Syntax

gateway cert export --certfile file-name

Description

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

To access the SGD Gateway 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 certificate from the SGD Gateway keystore to the file, gateway1.pem.

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