Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
devel:documentation:systems:dev:winrm_connector [2019/07/11 10:31]
kucerar connector server as service
devel:documentation:systems:dev:winrm_connector [2019/07/17 05:22]
kucerar path to crt
Line 30: Line 30:
  
 It supports HTTP and HTTPS communication. HTTPS communication can be a little bit tricky to configure. You need the right It supports HTTP and HTTPS communication. HTTPS communication can be a little bit tricky to configure. You need the right
-certificate which is used in WinRM listener on Win server and then import crt to the trust store on machine where this connector is running+certificate which is used in WinRM listener on Win server and then import crt to the trust store on machine where this connector is running or you can edit file winrm\_wrapper.py to change the path to .pem certificate which is needed for HTTPS connection. 
-In file winrm_wrapper.py on line 39 where the session for WinRM is created you need to specify ca trust path. +<code> 
-On Debian based system the default system ca path is "/etc/ssl/certs" +p = winrm.protocol.Protocol(endpoint=endpoint, 
 +                            transport=authentication, 
 +                            username=user, 
 +                            password=password, 
 +                            ca_trust_path='/opt/connid-connector-server/certs/winrm_ca.pem') 
 +</code>
 ===== Configuration ===== ===== Configuration =====
 Connector has few settings which need to be configured before you used it. Connector has few settings which need to be configured before you used it.