Feature #1913
closedMove winrm truststore path setting to IdM
100%
Description
Currently, a path to the truststore is hardcoded in the https://git.bcvsolutions.eu/modules/winrm-ad-connector/blob/master/scripts/winrm_wrapper.py#L90 ca_trust_path setting.
This can cause problems when deploying to other paths than expected. I also accidentally clashed into this because of deployment guide rewrite. :)
After discussing with Roman, we agreed upon moving the truststore path into system configuration in IdM. The truststore path will be given to the winrm_wrapper.py script in a variable directly from the IdM.
This is an implementation ticket for the change.
Another option is to set some environment variable of the connector server user and read it from python like:
import os
truststorepath = os.environ["envvariablename"]
Preferred way is to supply truststore path directly from the IdM. Then, the winrm_wrapper.py script will be deployment-agnostic and also whole configuration will be stored in one place in the IdM.