Using https - Openwsman/openwsman GitHub Wiki
In order to have openwsmand accept secure connections, one has to
- Enable ssl_port in openwsman.conf. The officially assigned port number is 5986.
- Provide a server certificate and enter it into openwsman.conf. Point ssl_cert_file to the public part and ssl_key_file to the private part.
- Run openwsmand with the -S option
Openwsman provides a owsmangencert.sh script in /etc/openwsman.
it will not overwrite an existing certificate. Run it as
to allow overwriting an existing certificate.
Be sure to enter a correct 2 letter country code. E.g. 'UK' is wrong, use 'GB' instead.