CyberArk Account onboarding through powershell API is failing with the below error. please let me know if anyone has experienced the similar error. The script is running on a PVWA Server.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CyberArk Account onboarding through powershell API is failing with the below error. please let me know if anyone has experienced the similar error. The script is running on a PVWA Server.

L3 Networker

The script was working fine for a while now and suddenly stopped working. There were no changes made on the server.

Error message:

Failed to create safe `xxxxxx' : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Failed to create user `xxxxxx' : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

1 REPLY 1

L5 Sessionator

Try disabling SSL Cert verification and run again. keep this in your script.

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}

 

  • 59 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!