Automate-IT and Pulse-IT can be configured either in http or in https. In order to switch an already installed server from http to https, here are the necessary steps.


On the server side

Run this command from your install folder:

sudo ./setup.py --migrate-to-ssl


Edit the nginx config file:

nano /etc/nginx/sites-available/embrace-app-https.conf


and replace the path for ssl_certificate et ssl_certificate_key with your cerficates files. 

ssl_certificate /etc/ssl/factory-cert.pem;
ssl_certificate_key /etc/ssl/factory-key.pem;

Important note:

Do not replace the existing files (factory-cert.pem and factory-key.pem), use another name or another location instead.



Then restart the nginx server

sudo systemctl restart nginx

sudo systemctl restart factory.target


On the agent side:

Edit the agent.ini file and set the new SERVER_ADDRESS (I.E https;//… instead of http;//)

set the new server address (I.E https;//… instead of http;//
SERVER_ADDRESS = https://pulse-it.embrace.dev

Restart agent using the shortcut available on your desktop and you're done