I get the following error when trying to connect: "UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https"

I get the following error when trying to connect: "UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https"

Salesforce has disabled TLS 1.0 protocol support. To resolve you have to do the following: