mtol20mtol20
0p3 comments posted · 10 followers · following 0
11 years ago @ Derek Seaman's Blog - Create Trusted Remote ... · 0 replies · +1 points
Comes back with: Updating property(s) of '\\SRV1\root\CIMV2\TerminalServices:Win32_TSGeneralSetting.TerminalName="RDP-Tcp"'
ERROR:Description = Invalid parameter
Can Someone help me with this.
11 years ago @ Derek Seaman's Blog - Create Trusted Remote ... · 0 replies · +2 points
I tried: $path = (Get-WmiObject -class "Win32_TSGeneralSetting" -Namespace root\cimv2\terminalservices -Filter "TerminalName='RDP-tcp'").__path
Set-WmiInstance -Path $path -argument @{SSLCertificateSHA1Hash="222779121ab46b5e5a1188c9f75e4fb4381f454"}
But it this comes back with: Set-WmiInstance : Invalid parameter At line:2 char:1
+ Set-WmiInstance -Path $path -argument @{SSLCertificateSHA1Hash="222779121ab46b5e ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Set-WmiInstance], ManagementException
+ FullyQualifiedErrorId : SetWMIManagementException,Microsoft.PowerShell.Commands.SetWmiInstance
11 years ago @ Derek Seaman's Blog - Create Trusted Remote ... · 2 replies · +2 points
I have four 2012 servers with RDS roles.
SRV1 is RDS Session Host
SRV2 is RDS Session Host
SRV3 Is Connection Broker
SRV4 with roles: RDGateway and RDWEB
internal.domain.local
extrenal.domain.nl
Wildcard certificate on all rds roles for external domain.nl
Internal ca with certificate based on Remote Desktop Authentication (1.3.6.1.4.1.311.54.1.2)
I can get to https://rdweb.external.domain.nl and see all rds rdweb apps without certificate warnings.
When I start the app I get: name mismatch, request remote computer:srv1.internal.domain.nl, name in certificate from remote computer: *.external.domain.nl
I tink i made a mistake assigning all rds roles to the external certificate, but i can not figure out a way to change this to the certifacate that my internal ca gave to my srv3.
The RDS role wizard lets me change the certificate using a pfx where i can only export the existing certificate to a cer file without the private key. This can not be imported in the rds role wizard.