Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
NAV Three Tier
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
Categories
71.6K
All Categories
73
General
73
Announcements
65.8K
Microsoft Dynamics NAV
18K
NAV Three Tier
38.3K
NAV/Navision Classic Client
3.6K
Navision Attain
2.4K
Navision Financials
113
Navision DOS
852
Navision e-Commerce
963
NAV Tips & Tricks
769
NAV Dutch speaking only
612
NAV Courses, Exams & Certification
1.9K
Microsoft Dynamics-Other
1.5K
Dynamics AX
227
Dynamics CRM
108
Dynamics GP
10
Dynamics SL
1.5K
Other
990
SQL General
383
SQL Performance
32
SQL Tips & Tricks
31
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
3
Implementation Patterns
53
3rd Party Products, Services & Events
1.6K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
257
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
"Could not create SSL/TLS secure channel"
Vis
Member
Posts:
19
2021-06-21
in
NAV Three Tier
Trying to fetch data from external web service using BC client, but keep on getting the error "Could not create SSL/TLS secure channel".
When using web browser the service response is OK.
Any idea?
Regards
viber error.jpg
14.4K
0
Answers
Procat
Member
Posts:
31
2021-06-25
Have you tried adding the the line below, to force TLS 1.2?
ServicePointManager.SecurityProtocol := SecurityProtocolType.Tls12;
Name DataType Subtype Length
ServicePointManager DotNet System.Net.ServicePointManager.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
SecurityProtocolType DotNet System.Net.SecurityProtocolType.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
0
Vis
Member
Posts:
19
2021-06-29
Yes, we have tried this, also installed the certificates locally, but still the same error.
Thanks for the effort.
Regards
0
ilkaysener
Member
Posts:
2
2022-04-06
Were you able to solve this problem?
@Vis
0
Sign In
or
Register
to comment.
Answers
ServicePointManager.SecurityProtocol := SecurityProtocolType.Tls12;
Name DataType Subtype Length
ServicePointManager DotNet System.Net.ServicePointManager.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
SecurityProtocolType DotNet System.Net.SecurityProtocolType.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Thanks for the effort.
Regards
@Vis