code:
$disableauth = @{
value='false'
}
$disableauth = $disableauth | CovertTo-Json
try {
$r = Invoke-RestMethod -Method Post -Uri https://clusterip:9440/PrismGateway/services/rest/v2.0/authconfig/client_auth -Headers $head -ContentType $content -Body $disableauth
} catch { $_.Exception.Message; }
When I run this command, it gives me an error of "request aborted: could not create SSL/TLS secure channel". I have a similar call I use to enable authentication, which works without issue.