Skip to main content

QlikView and Qlik Sense - Unified Hub: Server certificate validation error(s)

0% helpful (0/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniele_Purrone
Support
Support

QlikView and Qlik Sense - Unified Hub: Server certificate validation error(s)

Last Update:

Nov 22, 2021 4:10:44 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jul 22, 2016 4:01:35 AM

All the pre-requisites are met, but the QlikView Publisher fails to distribute/link a document in the Qlik Sense Unified hub.

For information on the pre-requisites, see: Publish a link to a QlikView document in the Qlik Sense hub.

Https has been enabled in the QVDistributionService.exe.config:

<add key="UseHTTPS" value="true" />


The task logs show errors like:

Error    Unified Hub: Server certificate validation error(s): RemoteCertificateNameMismatch
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()
 

 

Resolution:

 

A mismatched hostname in 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.

 

Environment:

QlikView 
Qlik Sense Enterprise on Windows 

Labels (1)
Contributors
Version history
Last update:
‎2021-11-22 04:10 AM
Updated by: