Rotating a Certificate for an On-Prem Agent
This guide describes how to update the cert that your on-prem agent uses to establish connections with Moveworks cloud, LDAP/Active Directory over SSL or StartTLS, or an on-prem REST system.
- Find the path to the existing cert: navigate to
moveworks/configand runcat agent_config.ymlto viewpath_to_cert.- Use
pwdto print the working directory,cd ..to go up a folder, andlsto list all folders.
- Use
- Replace the cert at the
path_to_certlocation.- Note: If you choose put the cert in a NEW location, you must also reconfigure your agent to update the path to the cert.
- Restart the agent using the following commands:
- Run
sudo ./setup_agent.sh --stop, thensudo ./setup_agent.sh --start. - Confirm that the agent restarted correctly by checking the agent log files:
tail -f /var/log/moveworks/*.INFO.log
- Run