启用 FIPS 后,使用 PowerShell 向 ONTAP 发送 REST API 调用时发生意外错误
适用场景
- ONTAP 9
- Windows PowerShell
问题描述
- 在集群上启用 FIPS 后,从 Windows PowerShell 向 ONTAP 发送 REST API 调用时收到以下错误:
Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send.
At C:\NetApp\ASW Scripting\AppProvision\NcAppProvision.psm1:65 char:25
+ ... lications = Invoke-RestMethod -Uri "https://${Cluster}/api/applicatio ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand