3 Replies Latest reply: Dec 2, 2014 7:09 AM by Joonas Lönnmark RSS

    Accessing Qlik Sense Server using header authentication fails to exception

      I try to connect the server with static header authenctication in .NET SDK:


        Qlik.Engine.ILocation loc = Qlik.Engine.Location.FromUri(new Uri("https://XXX.cloudapp.net"));

              loc.VirtualProxyPath = "testi1";

              loc.AsStaticHeaderUserViaProxy("ValidUser", "HeaderAuthencticationHeaderName");


               using (IHub hun = loc.Hub())


                  textBox.Text = hun.OSVersion();



      This fails with the exception:


      An unhandled exception of type 'System.Security.Authentication.AuthenticationException' occurred in Qlik.Engine.dll

      Additional information: The remote certificate is invalid according to the validation procedure.



      How to pass the validation procedure??