Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Configure an HTTP Listener for SSL

The remote create-ssl command enables you to create and configure an SSL element in the specified listener. This enables secure communication for the listener.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Configure an HTTP listener by using the create-ssl(1) command.

  3. To apply your changes, restart Enterprise Server.

    1. Stop Enterprise Server.

      For instructions, see To Stop a Domain (or Server).

    2. Start Enterprise Server.

      For instructions, see To Start a Domain (or Server).


Example 8–4 Configuring an HTTP Listener for SSL

The following example command enables the HTTP listener named http-listener-1 for SSL:


asadmin create-ssl --type http-listener --certname sampleCert http-listener-1

Information similar to the following is displayed:


Command create-ssl executed successfully.

See Also

To see the full syntax and options of the command, type asadmin create-ssl --help at the command line.