-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPS - Upgrade to use TLS 1.1 or TLS 1.2 #2754
Comments
@rahatur what version of nopCommerce are you using? |
I am using version 3.3 |
it's the issue. It was fixed in later versions |
please see global.asax file in 3.90 where we set it |
Got it. Adding that should be enough right? |
yes |
I am using nop version 3.5, may I know where I can place below line of code still I face the problem, may I know how to resolve this TLS 1.2 related issue in Nop 3.5 |
For nopcommerce 3.3 I placed in as the first line in the Application_Start function of the Global.asax.cs file
|
I have used ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; |
We recently started to receive this (403) Forbidden exception on the
DoRequest
method of theUPSComputationMethod.cs
file. Further investigation reviled that the exceptions were thrown by the UPS API at random. For the same address sometime we get response sometime we don’t. When we contacted the UPS support team they gave the following reply:"_Currently, all of the CIE (test) environment servers have be updated to only accept TLS 1.2 requests.
UPS will be making changes to the Production servers beginning September 1, 2017 through December 31, 2017 to support enhancing our security. During this time, you may see intermittent failures for transactions using TLS 1.0 or earlier.
As of October 10, 2017, 50% of all API servers have been transitioned over to ignore any traffic using TLS 1.0.
Effective 12/31/2017, UPS will only accept TLS 1.1 and TLS 1.2 security protocols. It is highly recommended that the most current version, TLS 1.2, be implemented. After that date, any communication requests submitted to UPS using older protocols (TLS 1.0 or earlier) will fail._"
The text was updated successfully, but these errors were encountered: