Qlik Community

Qlik Sense on AWS & Azure

Discussion board where members can learn more about Qlik Sense deployments on Public Cloud Infrastructures such as AWS and Azure.

dev7qwickrate
New Contributor

Getting SSLhanshakeException when trying to get ticket

Hello Friends,

I have build a simple application to get the TICKET using QPS API, which is working fine until I am adding the host name in my host file but as soon as I am removing, it is throwing
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching ****** found.


Can you please help me what I am doing wrong here when removing host name from my system host file?

2 Replies
mmaturana
New Contributor II

Re: Getting SSLhanshakeException when trying to get ticket

Good Morning. Did you find any solution to this problem?

Thanks.

jimschoorl
New Contributor

Re: Getting SSLhanshakeException when trying to get ticket

This is pretty old but the server's certificate for the port you're trying to connect to does not have a matching DNS name. By default, restarting the Qlik Proxy Service will set the default QlikClient certifcate to port 4243. Our application gets the same error when trying to connect because QlikClient doesn't have any Subject Alternative Names set (I don't think it's possible to change that). 

I think that by adding the hostname to your file, it redirects it to a matching server and when it's removed, it sees they do not match anymore.

 

Currently, our solution is to set our own certificate with the correct DNS name. Unfortunately, if our AWS server restarts, the certificate gets reset too.

Community Browser