Skip to content

Commit

Permalink
SecurityProtocolType.Ssl3' is obsolete. Removed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeybannov committed Sep 10, 2019
1 parent 297b91e commit cc13507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/ASC.Core.Common/Billing/CouponManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ internal static async Task<IEnumerable<AvangateProduct>> GetProducts()

private static HttpClient PrepaireClient()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
const string applicationJson = "application/json";
var httpClient = new HttpClient { BaseAddress = BaseAddress, Timeout = TimeSpan.FromMinutes(3) };
httpClient.DefaultRequestHeaders.TryAddWithoutValidation("accept", applicationJson);
Expand Down

0 comments on commit cc13507

Please sign in to comment.