"Could not create SSL/TLS secure channel"

VisVis Member Posts: 19
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

Answers

  • ProcatProcat Member Posts: 31
    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'
  • VisVis Member Posts: 19
    Yes, we have tried this, also installed the certificates locally, but still the same error.
    Thanks for the effort.

    Regards
  • ilkaysenerilkaysener Member Posts: 2
    Were you able to solve this problem?
    @Vis
Sign In or Register to comment.