Hi Julio,
Sorry for the delay. I don't know if this will solve your problem. But access the https site using the agent will probably stop the action from ever getting the page - usually with some kind of PKIX error. To get the agent's actions to successfully communicate with https sites you have to import that sites certificates into the Agent machines <AgentInstallDir>/jre/lib/security/cacerts truststore.
Maybe after doing that you'll get a different return code. If you can't do that then you'll probably need to use something like the "Run Command Line" action on a system with curl and use the -k switch:
-k, --insecure
(SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers. All SSL connections are attempted to be made secure by using the CA certificate bundle installed by default. This makes all connections considered "insecure" fail unless -k, --insecure is used.
Since it does seem to be a REST call that is being made, you might also prefer/want to use the REST action. But that action (all actions using source code to communicate with secure endpoints) would also need the certificate to be in the cacerts truststore in order for the SSL Handshake to be successful.
Regards,
Gregg