B.1. The gateway Command

Use the gateway command to configure and control the SGD Gateway.

Note

The full path of the gateway command is /opt/SUNWsgdg/bin/gateway.

Syntax

gateway start | stop | restart | config | server | status | setup | version | sslcert |
sslkey | cert | key | setup | uninstall

Description

The available gateway commands are shown in the following table.

Command

Description

More Information

gateway start

Starts the SGD Gateway

Section B.22, “gateway start”

gateway stop

Stops the SGD Gateway

Section B.24, “gateway stop”

gateway restart

Stops and then restarts the SGD Gateway

Section B.10, “gateway restart”

gateway config

Configures the SGD Gateway, and updates the Apache reverse proxy configuration files

Section B.3, “gateway config”

gateway server

Installs SGD server security certificates and configures load balancing for the SGD array

Section B.11, “gateway server”

gateway status

Displays the current status for the SGD Gateway

Section B.23, “gateway status”

gateway version

Displays the version number of the SGD Gateway

Section B.26, “gateway version”

gateway sslcert

Exports and prints the Secure Sockets Layer (SSL) certificate in the client keystore

Section B.16, “gateway sslcert”

gateway sslkey

Manages the private key and certificate in the client keystore

Section B.19, “gateway sslkey”

gateway cert export

Exports the SGD Gateway certificate from the SGD Gateway keystore

Section B.2, “gateway cert export”

gateway key import

Imports a private key and certificate into the SGD Gateway keystore

Section B.9, “gateway key import”

gateway setup

Runs the SGD Gateway setup program

Section B.15, “gateway setup”

gateway uninstall

Uninstalls the SGD Gateway software

Section B.25, “gateway uninstall”

Note

All gateway commands include a --help option. You can use this option to display help for the command.

Examples

The following example starts the SGD Gateway.

# /opt/SUNWsgdg/bin/gateway start

The following example means that the SGD server server.example.com is not authorized to use the SGD Gateway.

# /opt/SUNWsgdg/bin/gateway server remove --server server.example.com