Description
By default, communication between the Commander Server and Agent is secure. On internal networks, you can turn off the overhead for security.
Solution
Use the following steps:
-
For ElectricCommander pre-4.2 releases, in ElectricCommander files on agent machines, change the agent configuration located in the
agent.conf
file within the Commanderconf
directory. As distributed, the agent, by default is configured for HTTPS.
Here is the text from the file:# Protocol of communication between the Agent and ElectricCommander server. # Valid values are http and https. Defaults to https. #proto=https
From ElectricCommander/ElectricFlow 4.2 onwards, please run the following command directly.
ecconfigure --agentProtocol=http
-
Restart the agent. On Linux, use the script "ecmdrAgent restart" in
/etc/init.d
. On Windows, use the Control Panel > Services tab to restart the "ElectricCommander Agent". -
Log in to the Commander web page, go to the Adminstrator tab > Resources subtab, edit the resource setting in the field "Use HTTPS" to correspond to the agent setting. After saving the resource configuration, the agent is pinged to confirm the setup of both the server and agent.