Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Conversation

@bhaarathms
Copy link
Contributor

Sandbox and PROD environments only accept TLS 1.2
So we are explicitly setting TLS version to 1.2 before making SOAP calls.

Copy link
Member

@srpraveenkumar srpraveenkumar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good Bhaarath. Could you also set this in other samples in the same solution if possible?

@bhaarathms
Copy link
Contributor Author

bhaarathms commented Nov 22, 2017

@srpraveenkumar added this statement in other samples too.

@JohnLBevan
Copy link

FYI: So long as the TLS protocol isn't hardcoded, you can set it via the registry, or in the AppContext.
See https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls for MS Guidelines, and https://stackoverflow.com/questions/28286086/default-securityprotocol-in-net-4-5 for various alternate approaches / discussions. Taking one of these approaches will help to take advantage of TLS1.3 once released / ensure your system' reasonably future proof.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants