{"id":1123,"date":"2021-01-29T14:07:16","date_gmt":"2021-01-29T12:07:16","guid":{"rendered":"http:\/\/dety.net.ua\/?p=1123"},"modified":"2021-01-29T14:07:52","modified_gmt":"2021-01-29T12:07:52","slug":"rdweb-and-webclient-dont-work-cause-your-session-ended-because-an-unexpected-server-authentication-certificate-was-received-from-the-remote-pc","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=1123","title":{"rendered":"RDWeb and webclient don&#8217;t work cause: Your session ended because an unexpected server authentication certificate was received from the remote PC"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The issue appeared after changing the main certificate. All the stuff in the console looked OK but published applications stopped working.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This link helped me: <a href=\"http:\/\/roundtec.blogspot.com\/2019\/09\/replace-remote-desktop-broker.html\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/roundtec.blogspot.com\/2019\/09\/replace-remote-desktop-broker.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The certificate for WebClient must be changed too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Load the RDWebClientManagement-module i PS elevated mode: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;Import-Module -Name RDWebClientManagement&#8221; <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check what certificate the WebClient expects now: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;Get-RDWebClientBrokerCert&#8221; <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If this is the wrong one, transfer a .crt or .cer of the certificate on the broker an import it to the WebClient: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;Import-RDWebClientBrokerCert C:\\certs\\2019-10\\certificate.crt&#8221; <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check again: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8220;<strong>Get-RDWebClientBrokerCert<\/strong>&#8220;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The issue appeared after changing the main certificate. All the stuff in the console looked OK but published applications stopped working. This link helped me: http:\/\/roundtec.blogspot.com\/2019\/09\/replace-remote-desktop-broker.html The certificate for WebClient must be changed too. Load the RDWebClientManagement-module i PS elevated mode: &#8220;Import-Module -Name RDWebClientManagement&#8221; Check what certificate the WebClient expects now: &#8220;Get-RDWebClientBrokerCert&#8221; If this is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1123","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1123"}],"version-history":[{"count":3,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1123\/revisions"}],"predecessor-version":[{"id":1126,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1123\/revisions\/1126"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}