Hi there,
More and more external parties are deprecating TLS 1 in favor of 1.2. For a bunch of existing connectors (Stripe, Authorize.net, PayPal and others) I am seeing code like this:
ServicePointManager.SecurityProtocol = ServicePointManager.SecurityProtocol | SecurityProtocolType.Tls12;
which solves the issue.
I have a few questions about that:
1. Should this be implemented globally? Since this is a system-wide setting, setting it on a single provider also sets it for others anyway, so we might as well get this at the global application level so it's done for all providers at once. If that leads to issue, maybe have an opt-out or opt-in model to this behavior?
2. How can I fix this for older 8 applications? We have a few sites running on 8 where we can't (easily) upgrade to newer versions that have already fixed this. Would it make sense if I created a custom notification subscriber that fires early on to set this? Then I could just drop this in those sites.
Thanks!
Imar