Aria Automation Orchestrator - a PowerShell action failed "The SSL connection could not be established, see inner exception."
search cancel

Aria Automation Orchestrator - a PowerShell action failed "The SSL connection could not be established, see inner exception."

book

Article ID: 369835

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:

  • Trying to execute the PowerShell action fails with error:
    The SSL connection could not be established, see inner exception.
  • In the logs of the of the execution the following can be seen
    ... The remote certificate is invalid because of errors in the certificate ...
  • The issue is not resolved even after importing the certificate to the Orchestrator trust store using the Orchestrator Control Center or a workflow like "Import a certificate from URL"

Cause

The Aria Automation Orchestrator PowerShell module does not use the Orchestrator certificate store.

Resolution

To work around the issue please use method -SkipCertificateCheck for the Invoke-RestMethod or Invoke-WebRequest call.

Additional Information

Links to PowerShell Documentation:

Invoke-RestMethod

Invoke-WebRequest