Configuring RD Gateway certificate – Exception calling „Put“ with „0“ argument(s): „Invalid parameter “

I’m was trying to configure the TrustedIssuerCertificate on my RD gateway and experiencing following problem:

$Server = “myrdgw.domain.com”
$Thumbprint = “thumbrpint of my certificate”
$Tsdata = Get-WmiObject –computername $Server –NameSpace “root\TSGatewayFedAuth2” –Class “FedauthSettings”
$TSData.TrustedIssuerCertificates = $Thumbprint
$TSData.Put()

It returned an error:

I tried to reinstall VMM Console plugin with no luck. So I opened new power-shell window and typed all commands manually.

Once successful, script will give you following output:

 

 

Pridaj komentár

Vaša e-mailová adresa nebude zverejnená. Vyžadované polia sú označené *