RDS 2012 session host certificate assignment


hi rds guys,

i'm having big trouble configuring certificates rds session host rdp connections.

i have 2 2012 rds servers in collection , have 2 records name ts.mydomain.tld point ips of each server. when try connect ts.mydomain.tld certificate warning rds certificates self signed certs each rds. why can't assign certficate per rdp-listener anymore? in scenario rdgateway not working anymore because of cert issue.

cheers


sebastian bammer

hi freek,

here's solution worked me:

$pass = convertto-securestring "passwordfothepfxfile" -asplaintext -force
$thumbprint = (import-pfxcertificate -password $pass -certstorelocation cert:\localmachine\my -filepath '\\server\share\certificatewithprivatekey.pfx').thumbprint
$path = (get-wmiobject -class "win32_tsgeneralsetting" -namespace root\cimv2\terminalservices -filter "terminalname='rdp-tcp'").__path
set-wmiinstance -path $path -argument @{sslcertificatesha1hash="$thumbprint"}

cheers


sebastian bammer



Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

Schannel Issue

Indexing Server

oclist /xml or /?