Qlik NPrinting will not read Qlik Sense certificates
You have added your Qlik Sense certificates to the correct folder on your Qlik NPrinting Server and Qlik NPrinting Engine machines. However, Qlik NPrinting services will not read them.
Possible cause
- The Qlik Sense certificates did not export properly.
- Your security settings require certificates to be stored in the user certificates store.
- Your intranet security settings may need to be changed.
Proposed action
Make sure that you have followed the requirements on Connecting Qlik NPrinting with Qlik Sense. If that does not solve the issue, re-export your certificates and update your intranet security settings.
Re-exporting the certificates
A Qlik Sense administrator or a user with a RootAdmin account should follow these export instructions: Exporting the certificates from the QMC.
Installing the certificates in the user certificates store
Qlik Sense only needs the client.pfx certificate file to accept connections. If this certificate is copied to the Qlik NPrinting installation folder (C:\Program Files\NPrintingServer\Settings\SenseCertificates), it will be read and used to sign requests to the Qlik Sense server. There is no need for the server.pfx and root.cercertificates.
If your security policies require that certificates not be stored in a file system, Qlik NPrinting can read certificates from the user certificates store. You need all three certificates: client.pfx, server.pfx, and root.cer. You must use the QmcCertificatesInstaller.exe tool to install certificates in the store. It combines all three into a trust chain, and stores them in the certificate store.
Do the following:
-
Receive the exported and renamed Qlik Sense certificates from your Qlik Sense system administrator.
- Log into the Qlik NPrinting Server running the Qlik NPrinting scheduler service, as the Windows Qlik NPrinting Server services administrator.
-
Add the certificates to C:\Program Files\NPrintingServer\Settings\SenseCertificates. Qlik NPrinting will automatically identify the correct one to be used for each connection.
Information noteYou should only keep active Qlik Sense certificates used by Qlik NPrinting connections in the C:\Program Files\NPrintingServer\Settings\SenseCertificates folder.
We recommend you remove any certificates that are not in use.
- Repeat this process on each Qlik NPrinting Engine running the Qlik NPrinting Engine service, using the Windows Qlik NPrinting Engine services administrator.
Additional user access allocation in Qlik Sense is not required for a user to view reports in the Qlik Sense hub.
Understanding error logs for server certificate validation
If you use server certificate validation, the error logs include troubleshooting instructions for the most common configuration errors. Logs are stored in the %ProgramData%\Nprinting\Logs folder. The default location is C:\ProgramData\NPrinting\Logs.
Here are some examples:
Qlik Sense remote server certificate validation failed with SslPolicyErrors RemoteCertificateChainErrors and ChainStatus with 1 element(s): [Status=UntrustedRoot, Info=A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.]
Qlik Sense remote server certificate validation failed with SslPolicyErrors RemoteCertificateNameMismatch
Qlik Sense remote server certificate validation failed with SslPolicyErrors RemoteCertificateNameMismatch, RemoteCertificateChainErrors and ChainStatus with 1 element(s): [Status=UntrustedRoot, Info=A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.]
Updating your intranet security settings
Certain intranet settings may block connections to Qlik Sense servers. If a server is not responding, you should change the intranet settings.
Do the following:
-
Log into the Qlik NPrinting Server using the Qlik NPrinting Domain User Service Account credentials that run the Qlik NPrinting scheduler service.
- Open the Windows Control Panel.
- Go to Internet Options.
- Click Change security settings.
- Click the Security tab.
- Select Local Intranet.
- Click the Sites button, click the Advanced button.
- Add all of the Qlik Sense Proxy Server computer names to the list, including the domain name: https://sense_proxy_computer_name.domain_name.
- Click Close.
- Click Ok twice to close the Internet Properties window.
-
If the Qlik NPrinting Engine is installed on the same machine but running under a different service account, repeat the above procedures, logging in as the Service Account credentials that run the Qlik NPrinting Engine service.
-
Repeat this process on each Qlik NPrinting Engine running the Qlik NPrinting Engine service, using the Windows Qlik NPrinting Engine services administrator.