troubleshooting Question

SecurityProtocol and 500 server error

Avatar of Starr Duskk
Starr DuskkFlag for United States of America asked on
ASP.NET
2 Comments1 Solution126 ViewsLast Modified:
I'm confirming on the ServicePointManager...

https://docs.microsoft.com/en-us/dotnet/api/system.net.servicepointmanager?view=netframework-4.7.2

That if I use this with an HttpWebRequest, it will require one of these protocols:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 Or System.Net.SecurityProtocolType.Ssl3 Or System.Net.SecurityProtocolType.Tls

When we send XML to the client, it is erroring with a 500 server error, and I suspect it is because, as I was just informed, that they haven't configured the TLS12 yet.

If I have that protocol set prior to sending our HttpWebRequest, will it cause a 500 server error if they don't have it configured?

Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros