SecureWebServer extends WebServer with SSL security features. You must provide a certificate suitable for server authentication, and any passwords or key files needed to access the certificate. SSL3 and TLS3 are the only supported protocols. This agent supports the following Props entries:
The number of millisecs to wait after an http request is completed before closing the socket used for that request. Default value is 2000
The port that the webserver will bind to. Default value is 80
The maximum number of concurrent connections to allow. Default value is 20
The agent that gets called when the default page is requested. Default value is HTTPFileServerAgent
The IP address to service HTTP requests on (on mulithoming machines. To service requests on any IP interfaces, use 0.0.0.0 as the value. Default value is 0.0.0.0
If this is set to true, the server will create HTTP access logs. Default value is true
Specifies the directory where the server will create the HTTP access logs. Default value is ./logs
The path to a file specifying mime types to use with various file extensions. If this file is missing, the server uses common default mappings. Default value is ./mime_types
The path to the certificate this server will use for SSL connections. To retrieve a certificate from the local host's certificate store, use the syntax store:/MY/localhost. Note that the example above doesn’t include a certificate name. If no certificate name is provided the server will use the 1st certificate it finds in the specified certificate store that is suitable for SSL server authentication. Use the following values to access various certificate stores on windows platforms:
Certification authority certificates.
A certificate store holding "My" certificates.
Software publisher certificates.
Default value is ./test-cert.pfx
The password to use when accessing the certificate. (The password for the certificate stored in the file test-cert.pfx is abcd, so the default value is abcd
The following Props settings are optional:
The path to a server key file. By default this prop is not set.
The password used to access the server key file. By default this prop is not set.