UNSOLVED

Roopesh Shetty

updated

6 years ago

0

810

April 20th, 2020 21:00

issue with esi power shell tool kit

Hi guys,

Using ESI PowerShell kit 5.2 we are trying to connect a VMAX device with below commands;

$p = @{"SerialNumber" ="00011111199";"Host" = "10.10.10.1";"Port"="5989";"UseSSL"="true";"UseWindowsAuth"="false";"Username"="admin";"Password"="password";"ConnectionTimeoutSeconds"="30";"OperationTimeoutSeconds"="30";"IgnoreServerCACheck"="true";"IgnoreServerCNCheck"="true";"UserFriendlyName"="myVMAX"};

Connect-EmcSystem -SystemType "VMAX" -CreationParameters $p

 

But this command is failing with a error “Could not establish trust relationship for the SSL/TLS secure channel. : The remote certificate is invalid according to the validation procedure”.

 As per my finding I need to add a parameter  -SkipCertificateCheck on the above command lines. But not getting how to add this parameter in above lines. Any idea how to do it please?