NAME
FusionInventory::Agent::HTTP::Server::SSL - An embedded HTTP server plugin providing SSL support on configured port
DESCRIPTION
This is a server plugin to enable SSL support on listening ports.
CONFIGURATION
- disabled
yes
by default - ports
0
by default to use default one Can be a comma separated list of ports, even including 0 to enable it on default port: Example: ports = 443,0 - ssl_cert_file No default The path to SSL certificate to use. It can be relative to the current configuration folder.
- ssl_key_file No default The path to SSL private key to use. It can be relative to the current configuration folder.
Defaults can be overrided in ssl-server-plugin.cfg
file or better in the ssl-server-plugin.local
if included from ssl-server-plugin.cfg
.
OpenSSL can be used to generate private key/certificate files pair. The following command can be used: openssl req -x509 -newkey rsa:2048 -keyout etc/key.pem -out etc/cert.pem \ -days 3650 -sha256 -nodes -subj "/CN=$HOSTNAME"