简体   繁体   中英

Paypal TLS Security changes

As you all probably know, Paypal is upgrading TLS security protocols to 1.2. .Net 3.5 does NOT support this - I have a website in .Net 3.5 Framework which makes use of Paypal payments. What are my alternatives?

Updating will require huge changes to my solution and it is not ideal, not enough resources and time -

A possible solution for not only a C# project stuck on 3.5 but also for any system that is not able to directly implement TLS 1.2 is to use a relay or proxy that does support that.

This obviously adds some complexity because you need to slot a service in between yours and the destination but if you need to upgrade then that could be a stepping stone to the upgrade.

This is essentially the same solution suggested by Raskayu for using Fiddler but expanded to use any language to do this.

You can set this static property

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

https://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.securityprotocol(v=vs.90).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM