{"id":341,"date":"2015-07-05T20:36:54","date_gmt":"2015-07-05T11:36:54","guid":{"rendered":"http:\/\/manatails.net\/blog\/?p=341"},"modified":"2022-04-03T13:48:55","modified_gmt":"2022-04-03T04:48:55","slug":"using-a-custom-security-certificate-for-rdp-connections","status":"publish","type":"post","link":"https:\/\/manatails.net\/blog\/2015\/07\/using-a-custom-security-certificate-for-rdp-connections\/","title":{"rendered":"Using a custom security certificate for RDP connections"},"content":{"rendered":"<p>This post is somewhat late, but I decided to upload it for informative purposes.<\/p>\n<p>In early this year I set up my own CA for securing connections between devices that I use.<br \/>\nOne of the things I cared about is the Windows Remote Desktop where I did not like the program spitting out warnings about default, non-secure self-signed certificate.<br \/>\nSo I thought about using my own certificates for them.<br \/>\nFirst I created an importable .pfx file with the private key and the certificate.<br \/>\nWith the certificate saved on the target machine, do the following:<\/p>\n<p><a href=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-346\" src=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert1.png\" alt=\"cert1\" width=\"858\" height=\"707\" srcset=\"https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert1.png 858w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert1-300x247.png 300w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert1-768x633.png 768w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert1-842x694.png 842w\" sizes=\"auto, (max-width: 858px) 100vw, 858px\" \/><\/a><\/p>\n<p>Open the mmc console and add a certificate snap-in for local computer account.<\/p>\n<p><a href=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-345\" src=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert2.png\" alt=\"cert2\" width=\"779\" height=\"424\" srcset=\"https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert2.png 779w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert2-300x163.png 300w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert2-768x418.png 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/a><\/p>\n<p>Go to Personal key storage and import the key file(It is NOT Remote Desktop storage despite its name).<\/p>\n<p><a href=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-344\" src=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert3.png\" alt=\"cert3\" width=\"602\" height=\"446\" srcset=\"https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert3.png 602w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert3-300x222.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/a><\/p>\n<p>Open Remote Desktop Session Host Configuration.<\/p>\n<p><a href=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-343\" src=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert4.png\" alt=\"cert4\" width=\"758\" height=\"513\" srcset=\"https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert4.png 758w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert4-300x203.png 300w\" sizes=\"auto, (max-width: 758px) 100vw, 758px\" \/><\/a><\/p>\n<p>Right click your desired RDP connection (RDP-tcp for my case) and go to properties.<\/p>\n<p><a href=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-342\" src=\"http:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert5.png\" alt=\"cert5\" width=\"513\" height=\"541\" srcset=\"https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert5.png 513w, https:\/\/manatails.net\/blog\/wp-content\/uploads\/2015\/07\/cert5-284x300.png 284w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" \/><\/a><\/p>\n<p>Press &#8216;Select&#8217; button in the certificates section to locate your certificate.<br \/>\nThen click Apply and disconnect from the RDP session. Further sessions will be secured using the certificate you specified.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is somewhat late, but I decided to upload it for informative purposes. In early this year I set up my own CA for securing connections between devices that I use. One of the things I cared about is the Windows Remote Desktop where I did not like the program spitting out warnings about &hellip; <a href=\"https:\/\/manatails.net\/blog\/2015\/07\/using-a-custom-security-certificate-for-rdp-connections\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Using a custom security certificate for RDP connections<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[85,86,84,83],"class_list":["post-341","post","type-post","status-publish","format-standard","hentry","category-computer","tag-certificate","tag-openssl","tag-rdp","tag-windows"],"_links":{"self":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts\/341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/comments?post=341"}],"version-history":[{"count":1,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts\/341\/revisions"}],"predecessor-version":[{"id":347,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts\/341\/revisions\/347"}],"wp:attachment":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/media?parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/categories?post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/tags?post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}