aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.04k stars 323 forks source link

Contains the fix for Domain Join failure of Windows EC2 instance with AWS managed Directory when TLS1.0 is disabled on the OS #334

Closed katyalc17 closed 3 years ago

katyalc17 commented 3 years ago

Contains the fix for Domain Join failure of Windows EC2 instance with AWS managed Directory when TLS1.0 is disabled on the OS

Issue #, if available: Unable to domain join Windows EC2 instance with AWS Directory Service using SSM document when TLS 1.0 is disabled on the OS. The SSM command throws the following error "The client and server cannot communicate, because they do not possess a common algorithm"

Description of changes: Added the below line of code in AWS.DomainJoin.exe.config file in order to enable .Net based applications (AWS.DomainJoin.exe) to allow the operating system to choose the security protocol

Microsoft article: https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#switchsystemnetdontenablesystemdefaulttlsversions

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

katyalc17 commented 3 years ago

Hi Team,

Just wanted to follow up to see if there is any update on the above pull request.

ferkhat-aws commented 3 years ago

The code change has been added outside of this pull-request. Closing.