How to make Orchestrator API calls from Lambda

How to make Orchestrator API calls from Lambda?

Depending on the code used to execute an API call from Lambda, the Lambda function may fail to establish an SSL connection for the HTTPS request. This is because Orchestrator uses HTTPS for communication. In many instances, Lambda will not be able to verify the Orchestrator certificate which in turn will cause the function to fail.

There are a few solutions to this:

  1. If possible, allow the code to execute without requiring valid SSL
  2. In the Lambda function load the certificates that are needed.
  3. Enable HTTP communication on Orchestrator (this should only be done if the HTTP port will not be open to the internet as this could have security implications).