0 Replies Latest reply: Aug 28, 2017 10:39 AM by Wildo Monges RSS

    Request to Qlik Session Api return Could not create SSL/TLS secure channel.

    Wildo Monges

      Hi All


      I tried to run this example Configuring IIS for the Qlik Proxy Service API - YouTube  + Using the Qlik Proxy Service Session API with IIS - YouTube but I got the following error Could not create SSL/TLS secure channel in this fragment of code.


      HttpWebResponse response = (HttpWebResponse)request.GetResponse();


      I tried to fix the error adding before the request

      ServicePointManager.Expect100Continue = true;

      ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;


      But that did not resolve the issue.


      I have two servers. The first where is installed Qlik QMC and the second where is running an external app to display reports (This is an asp. net web application using 4.0 framework). Both servers have the same certificate (self created not trusted, just to test this example). I did the configurations of the first video to setup the IIS 7.0 and I ran the code of the second video that I downloaded from GitHub - goldbergjeffrey/qssession: A simple asp.net page to test the session api with Qlik Sense Enterprise Server..


      Do you know if I am missing something? Maybe it is not working because I am not using QlikClient certificate because I am using an auto created non trusted cert?


      Every comments will be appreciate!