[an error occurred while processing this directive] [an error occurred while processing this directive]

Configuring Secure Access with a Configuration Editor for the SRX240 Services Gateway

You can manage your services gateway using a secure Web connection by enabling Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS).

To enable HTTPS on your services gateway:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or the CLI configuration editor.
  2. Perform the configuration tasks described in Table 1.
  3. If you are finished configuring the services gateway, commit the configuration.
  4. Verify the secure Web access configuration.

Table 1: Configuring Secure Web Access


J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Security level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Security, click Configure or Edit.

From the [edit] hierarchy level, enter

edit security

Import the SSL certificate that you have generated—for example, new.

  1. Next to Certificates, click Configure.
  2. Next to Local, click Add new entry.
  3. In the Name box, type a name for the certificate to be imported—for example, new.
  4. In the Certificate box, paste the generated SSL certificate and private key.
  5. Click OK.


set certificates local new load-key-filepath

Replace path with a path or URL to the file containing an SSL certificate and private key in PEM format—for example, /var/tmp/new.pem

Enable HTTPS access and specify the SSL certificate to be used for authentication.

Specify the port on which HTTPS access is to be enabled—for example, TCP port 8443.

  1. On the main Configuration page next to System, click Configure or Edit.
  2. Select the Services box and click Edit next to it.
  3. Next to Web management, click Edit.
  4. Select the Https box and click Edit next to it.
  5. In the Local certificate box, type the name of the certificate—for example, new.
  6. In the Port box, type 8443.
  7. Click OK.

From the [edit system] hierarchy level, enter

set services web-management https local-certificate new port 8443

Note: You can enable HTTPS access on specified interfaces also. If you enable HTTPS without specifying an interface, HTTPS is enabled on all interfaces.

Updated: 2009-04-27

[an error occurred while processing this directive]