This article is a mirror article of machine translation, please click here to jump to the original article.

View: 20670|Reply: 3

[Solved] Request aborted: Failed to create an SSL/TLS secure channel solution

[Copy link]
Posted on 5/24/2019 9:52:15 PM | | |
Scenario description: My company's website has been developed before to support PayPal payment, of course, this was developed by other colleagues. Some time ago, the supervisor asked me to develop support for PayPal payment in another scenario, and I spent some time looking at the PayPal code, and then tried to write it, although there was not much code, I finished it quickly. However, the next problem I encountered was really troublesome, and when debugging in sandbox mode, I kept getting exceptions: Request aborted: Failed to create an SSL/TLS secure channel. When I encountered this problem, I also went to Baidu or Google, tried many methods, but still couldn't solve this problem, it took a few days, and now I think about it and I'm drunk, but the development is to keep trying. Finally found the solution on github,https://github.com/paypal/TLS-update/tree/master/net/TlsCheck, I hope it can help friends in need. Just add this code before creating the request address:







Previous:asp.net background task hangfire framework tutorial
Next:Common.LoggingLog configuration
Posted on 5/30/2019 11:53:57 AM |
Bookmarked, thank you for sharing
 Landlord| Posted on 5/28/2024 1:23:10 PM |
The HTTPS security protocol version supports the detection tool
https://www.itsvse.com/thread-10688-1-1.html
 Landlord| Posted on 8/31/2025 8:47:02 PM |
HttpClientHandlerIgnore certificate validation

SocketsHttpHandlerIgnore certificate validation

Reference:The hyperlink login is visible.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com