HTTPd configuration


Display the current configuration for the HyperText Transport Protocol (HTTP) daemon.

Access mode

exec

Syntax

show switchServices httpd

Output Description

Heading Description Filter
Administrative State Indicates whether the management web server is active or inactive.

Valid values: enabled, disabled
adminState enumeration
Access Mode Indicates whether the system allows access to the management web server.

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.
accessMode enumeration
HTTP Port The port the system uses for HTTP communications.

Valid values are from 1 to 65535.
httpPort integer
HTTPS Port The port the system uses for HTTPS communications.

Valid values are from 1 to 65535.
httpsPort integer
Server Key ID 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. serverKeyId text
Server Key State The status of the operational server key used to establish HTTPS sessions.

Valid values:
  • validKey : The key can be used to establish HTTPS sessions.
  • invalidKey : The key can not be used to establish HTTPS sessions.
  • notApplicable : The key state is not applicable for the web server's current state.
serverKeyState enumeration
Session Timeout 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.
sessionTimeout integer
Audit Logging Indicates whether the system generates an event when the system configuration changes during an HTTP/HTTPS session.

Valid values: on, off
auditLogging enumeration
Operational State The current operational state of the web server on the system.

Valid values:
  • up : The web server on the system is functioning properly.
  • down : The web server on the system is not functioning.
operState enumeration
Bytes Received The number of bytes the system received during HTTP communications. bytesReceived counter32
Bytes Sent The number of bytes the system sent during HTTP communications. bytesSent counter32
Total Sessions Number of http sessions opened since startup. totalSessions counter32
Current Sessions Number of http sessions currently open. currentSessions integer

Related actions

You can do the following