Defining extra interfaces
As an administrator, you can define extra interfaces so that you can configure a set of values for a specific group of settings.
About this task
To configure extra interfaces, define each custom-named interface within the [interfaces] stanza of the WebSEAL configuration file.
Each interface definition includes a list of properties. Most properties imitate equivalent stanza entry names that are found in the WebSEAL configuration file and that are part of the default interface specification (see Default interface specification).
A custom interface specification uses the following format:
[interfaces]
interface-name = property=value[;property=value[;...]] The following table lists the available properties and values that are used to configure a custom interface:
| Property | Values | Description |
|---|---|---|
| http-port |
|
Port number to listen for HTTP requests
on the specified network-interface. The value
can also be set to One of either http-port or https-port must be specified when you define an interface. |
| https-port |
|
Port number to listen for HTTPS requests
on the specified network-interface. The value
can also be set to One of either http-port or https-port must be specified you define an interface. |
| worker-threads |
|
Number of worker threads that are used to process requests received only on this interface. The |
| network-interface |
|
IP address to listen for requests on the specified http-port or https-port. Both IPv4 and IPv6 formats are supported. |
| certificate-label |
|
Label name of a certificate in the Only valid when https-port is specified. The server-side certificate WebSEAL uses to authenticate to the client. |
| accept-client-certs |
|
Specifies how WebSEAL is to handle client-side certificates. Only valid when https-port is specified. |
|
websocket-max-worker-threads |
|
The size of the pool of worker threads which are used to service WebSocket
requests on this interface. If no value is specified, the global pool of WebSocket worker threads is used. |
Syntax rules for property values:
- A value that contains a semicolon (;), double quotation mark ("), or backslash (\) must be preceded by a backslash (\).
- Double quotation marks (") must be used to specify values that contain leading or trailing spaces.
- If a semicolon (;) appears inside a double-quoted value, it does not require a preceding backslash.
Example
[interfaces]
support = network-interface=9.0.0.8;https-port=444;certificate-label=WS6;
worker-threads=16 This example (entered as one line) creates an interface that is named "support" with the following properties:
- Allows WebSEAL to listen for requests at IP address 9.0.0.8, on HTTPS port 444.
- The HTTP port defaults to "disabled".
- WebSEAL authenticates to SSL clients with a server-side certificate named "WS6" stored in the WebSEAL key database file.
- The interface uses its own pool of 16 worker threads to service requests.
- The interface defaults to never requiring (prompting for) client-side certificates during authentication.