Modify the HTTPd configuration


Change the current configuration for HTTP.

Access mode

enable

Syntax

switchServices httpd

Arguments

Field Name Description
adminState enumeration Optional: Indicates whether the management web server is active or inactive.

The default setting is "disabled".

Valid values: enabled, disabled
accessMode enumeration Optional: Indicates whether the system allows access to the management web server.

The default setting is "http".

Valid values:
  • http : The server will process only HTTP requests.
  • https : The server will process only HTTPS requests.
  • both : The server will process both HTTP and HTTPS requests.
  • redirect : The server will redirect HTTP requests to the HTTPS port.
httpPort integer Optional: The port the system uses for HTTP communications.

Valid values are from 1 to 65535; the default setting is "80".
httpsPort integer Optional: The port the system uses for HTTPS communications.

Valid values are from 1 to 65535; the default setting is "443".
serverKeyId text Optional: The HTTPS server's RSA key ID. It indicates an index field within the Certificate and Key Manager entity to a RSA key. This key ID must be present for the HTTPS server to operate. The key ID is generated using the Sun Secure Application Switch CKM utility.
sessionTimeout integer Optional: Indicates the amount of time, in minutes, a session can remain idle before the system terminates the session.

Valid values are from 1 to 60; the default setting is "10".
auditLogging enumeration Optional: Indicates whether the system generates an event when the system configuration changes during an HTTP/HTTPS session.

The default setting is "on".

Valid values: on, off