{"comment":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/comments/13137801","html_url":"https://github.com/chef/chef-provisioning-aws/commit/59ebd0e78510f13a9633c42553e2059884e2bfee#commitcomment-13137801","id":13137801,"user":{"login":"hh","id":31331,"avatar_url":"https://avatars.githubusercontent.com/u/31331?v=3","gravatar_id":"","url":"https://api.github.com/users/hh","html_url":"https://github.com/hh","followers_url":"https://api.github.com/users/hh/followers","following_url":"https://api.github.com/users/hh/following{/other_user}","gists_url":"https://api.github.com/users/hh/gists{/gist_id}","starred_url":"https://api.github.com/users/hh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hh/subscriptions","organizations_url":"https://api.github.com/users/hh/orgs","repos_url":"https://api.github.com/users/hh/repos","events_url":"https://api.github.com/users/hh/events{/privacy}","received_events_url":"https://api.github.com/users/hh/received_events","type":"User","site_admin":false},"position":26,"line":279,"path":"lib/chef/provisioning/aws_driver/driver.rb","commit_id":"59ebd0e78510f13a9633c42553e2059884e2bfee","created_at":"2015-09-09T14:26:25Z","updated_at":"2015-09-09T14:26:25Z","body":"@adamedx would it be possible to setup winrm SSL to re-use the RDP certificate if it exists?\r\n\r\nI see self-signed RDPCERTIFICATE is the startup logs for EC2 instances.\r\n\r\nI'm trying to implement a way of using SSL with a certificate we can found out about before connecting to the machine.\r\n\r\n```\r\n2015/09/09 13:54:11Z: EC2ConfigMonitorState: 0\r\n2015/09/09 13:54:12Z: Windows sysprep configuration complete.\r\n2015/09/09 13:54:14Z: AMI Origin Version: 2015.08.12\r\n2015/09/09 13:54:14Z: AMI Origin Name: Windows_Server-2012-R2_RTM-English-64Bit-Base\r\n2015/09/09 13:54:14Z: OS: Microsoft Windows NT 6.3.9600\r\n2015/09/09 13:54:14Z: OsVersion: 6.3\r\n2015/09/09 13:54:14Z: OsProductName: Windows Server 2012 R2 Standard\r\n2015/09/09 13:54:14Z: OsBuildLabEx: 9600.17936.amd64fre.winblue_ltsb.150715-0840\r\n2015/09/09 13:54:14Z: Language: en-US\r\n2015/09/09 13:54:14Z: EC2 Agent: Ec2Config service v3.8.294\r\n2015/09/09 13:54:16Z: Message: Waiting for meta-data accessibility...\r\n2015/09/09 13:54:16Z: Message: Meta-data is now available.\r\n2015/09/09 13:54:17Z: AMI-ID: ami-4dbcb67d\r\n2015/09/09 13:54:17Z: Instance-ID: i-e6dcba20\r\n2015/09/09 13:54:20Z: Driver: AWS PV Network Device v7.3.2.0\r\n2015/09/09 13:54:20Z: Driver: AWS PV Storage Host Adapter v7.3.2.0\r\n2015/09/09 13:54:20Z: Ec2SetPassword: Enabled\r\n2015/09/09 13:54:22Z: RDPCERTIFICATE-SUBJECTNAME: WIN-LJ3K78KQPMC\r\n2015/09/09 13:54:22Z: RDPCERTIFICATE-THUMBPRINT: E0456331C42F2ECFA8DCC31CD48654B070FB4F33\r\n2015/09/09 13:54:24Z: Username: Administrator\r\n2015/09/09 13:54:24Z: Password: <Password>\r\nnVbP+bIgs4rnw9PmNVoZI0rX06Sv24saJJt5AhDcv/u3lvDd9V8t7SEkxROO5LnIycEmk3Md0MC9GESC3iiDo7Pc9dBGpOal/ynJ1xz9BqQAoNkxvhq80tuhTl1azm6oCiibRHk6lDgR7POR8HeRuC1fOiiXXaUEcV/CkQC7E6jObR0mkXzosIhOxWZtFnnd2VwWF4okZ5e2+Yp5QGsD8VMTDIHj5+LMaEai/Ua9YjzZurcnj8LcHX1L4X//xXbHfDeqhbRkZPBz6z6t3+ObS2264RoGc3DYn7mSoCGS9gFYb3+wV4sCEkndGrOMhDG21IPfZD/60PPiM6xknha2qA==\r\n</Password>\r\n2015/09/09 13:54:27Z: Message: Windows is Ready to use\r\n```"}}