Secure mode

mode="secure"

The agent will use this mode to communicate with the server (secure/unsecure)
If mode is set to secure, the agent will only connect to severs with a valid and trusted certificate
If mode is set to unsecure, the agent will accept self signed certificates

Recommended workflow