QlikView and Qlik Sense - Unified Hub: Server certificate validation error(s)Article Number: 000022539 | Last Modified: 2018/06/12
All the pre-requisites described in the help page "Publish a link to a QlikView documents in the Qlik Sense hub" are met:
Also, the use of https in the QVDistributionService.exe.config (default location: C:\Program Files\QlikView\Distribution Service ) has been enable by changing the necessary value:
<add key="UseHTTPS" value="true" />
When the QlikView Publisher tries to link the documents in the Qlik Sense Hub, though, something goes wrong and the documents don't show up.
The task logs show errors like this:
20160713T114902.385+0100 Error Unified Hub: Server certificate validation error(s): RemoteCertificateNameMismatch
20160713T114902.423+0100 Error Unified Hub: Failed selecting existing doc links as Service Account. Exception=System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. || at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) || at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) || --- End of inner exception stack trace --- || at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) || at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) || --- End of stack trace from previous location where exception was thrown --- || at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) || at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) || at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() || at QDSMain.UnifiedHubCommSupport.<RequestAsync>d__8.MoveNext()
What is probably wrong is that there is a mismatch in the hostnames for the Qlik Sense Repository. For instance, it might be that in one case the hostname is specified without the full domain, while in the other the full name (or IP address) is used.
Look for the certificate name in the QlikSense server.
Then check the QVDistributionService.exe.config (default location: C:\Program Files\QlikView\Distribution Service ) and ensure that in the line
<add key="QRSMachineName" value="SERVERNAME" />
the SERVERNAME value is identical and written in the same way as the one in the certificate.
If not, change the value in QVDistributionService.exe.config, save and restart the service.
Have a Question?
Search Qlik's Support Knowledge database or request assisted support for highly complex issues.Submit a case
Experiencing a serious issue, please contact us by phone. View phone numbers and hours by region.