Errors with QlikSense Web Ticketing in local environments

If you have a QlikSense installation in your local corporate network, but you access it with Web Ticketing, you might stumble upon a weird authentication problem where the Web Ticketing service responds with a (400) Bad Request error message. This should happen with computers of your company sharing a Group Policy that trusts the QlikSense server in question.

Continue reading

Advertisements

Certificate error in .Net – The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

You might stumble upon the error The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel when using self-signed or invalid certificates.

You may have tried all the different code patches like

ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => { return true; };

.. and trusting the certificate. But it does not work?

I wasted two days into this. I have often worked with invalid certificates, and just by making them trusted in e.g. the Application Pool account, the .Net code has been able to continue processing them.

But not one time. I tried all possible ways of trusting and tweaking the certificate.

Continue reading