Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
xiuur2508
Contributor
Contributor

Problem with fresh install nprinting

Hello,

So i have a new server with a fresh install of windows 2016 (x64)
I m trying to install nprinting 19.

I can install and run nprinting with my local administrator. (and services are working fine !)

When i try to install nprinting with my domain user i have a problem with certificate.
I can install nprinting serveur and engigne but services are not working.

2 Services can't start:
Scheduler
Webengine.

When check the log :

Web Engine client certificate not found in store. Generating a new certificate from RabbitMQ CA key
Unable to start WebEngine service. ERROR: System.InvalidOperationException: Found 0 certificates for RabbitMQ Certification Authority. Expected value is 1↓↓ à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GetRabbitMqCaPrivateKey() dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 111↓↓ à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GenerateClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 85↓↓ à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.RegenerateAndSaveClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 93↓↓ à Qlik.NPrinting.WebEngine.WebEngineServiceModule.Load(ContainerBuilder builder) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\WebEngine\WebEngineServiceModule.cs:ligne 71↓↓ à Autofac.Module.Configure(IComponentRegistry componentRegistry)↓↓ à Autofac.ContainerBuilder.Build(IComponentRegistry componentRegi

I did a second install of windows 2012.
It's still not working !!!!!!!!!!!!!!!!

So i have a product that i bought, and i can't even install it properly witouth checking on this forum!

I have check everything this past 2 days.
Nothing are working !
They said it will be corrected in february 2018. But i m trying to install nprinting 19.

1 Solution

Accepted Solutions
Frank_S
Support
Support

Hi @xiuur2508 

Please attempt the following steps.

  • Uninstall the NP Engine software
  • Open "Manage computer certificates" from the Windows search bar
  • Go to Trusted root Certification Authorities then delete the certificate NPrinting-CA
  • Delete the NP engine in the NP engine manager under Admin>Engine manager in the NPrinting Web Console.
  • Next, re-install the NPrinting Engine software (type/document the certificate password used as you will need it in the next step)
  • Add a new NP engine in the NP engine manager under Admin>Engine manager in the NPrinting Web Console (insert certificate password when prompted)

The NPrinting Engine installation should run as expected and the services should also remain up and running.

  • Cause
    This is likely caused by the NP Installer which is unable to remove the Certificates of the user in which NPrinting was previously installed with. This issue is expected for resolution in the Sept 2019 release but you can use the workaround above in the mean time. 

Since you installed using the local account first, it is likely that NP was not able to remove the certificate installed by that account when you subsequently installed using the domain account. This is a software defect that is being resolve in the Sept. release as mentioned above.

Hope this helps. 

If not, please start a support case with the Qlik Support desk or your Qlik Support partner at your earliest convenience so we can assist you with resolving the issue directly.

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

3 Replies
xiuur2508
Contributor
Contributor
Author

Scheduler client certificate not found in store. Generating a new certificate from RabbitMQ CA key			
Qlik.NPrinting.Scheduler	19.19.4.0	Qlik.NPrinting.Scheduler.SchedulerHttpService	20190905T140912.685+02:00	FATAL	NPRINTING		0	0	0	0	0	0	0	0	Unable to start SchedulerService. ERROR: System.InvalidOperationException: Found 0 certificates for RabbitMQ Certification Authority. Expected value is 1↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GetRabbitMqCaPrivateKey() dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 111↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GenerateClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 85↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.RegenerateAndSaveClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 93↓↓   à Qlik.NPrinting.Scheduler.SchedulerModule.Load(ContainerBuilder builder) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Scheduler\SchedulerModule.cs:ligne 74↓↓   à Autofac.Module.Configure(IComponentRegistry componentRegistry)↓↓   à Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)↓↓   à Autofac.ContainerBuilder.Build(ContainerBuildOptions options)↓↓   à Qlik.NPrinting.Scheduler.SchedulerHttpService.Start(String[] args) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Scheduler\SchedulerHttpService.cs:ligne 128			
Qlik.NPrinting.Scheduler	19.19.4.0	Qlik.NPrinting.Scheduler.SchedulerWindowsService	20190905T140912.685+02:00	FATAL	NPRINTING		0	0	0	0	0	0	0	0	Unable to start Scheduler service. ERROR: System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.InvalidOperationException: Found 0 certificates for RabbitMQ Certification Authority. Expected value is 1↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GetRabbitMqCaPrivateKey() dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 111↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GenerateClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 85↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.RegenerateAndSaveClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 93↓↓   à Qlik.NPrinting.Scheduler.SchedulerModule.Load(ContainerBuilder builder) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Scheduler\SchedulerModule.cs:ligne 74↓↓   à Autofac.Module.Configure(IComponentRegistry componentRegistry)↓↓   à Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)↓↓   à Autofac.ContainerBuilder.Build(ContainerBuildOptions options)↓↓   à Qlik.NPrinting.Scheduler.SchedulerHttpService.Start(String[] args) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Scheduler\SchedulerHttpService.cs:ligne 156↓↓   à System.Threading.Tasks.Task.Execute()↓↓   --- Fin de la trace de la pile d'exception interne ---↓↓---> (Exception interne #0) System.InvalidOperationException: Found 0 certificates for RabbitMQ Certification Authority. Expected value is 1↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GetRabbitMqCaPrivateKey() dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 111↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.GenerateClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 85↓↓   à Qlik.NPrinting.RabbitMQCertificatesGenerator.RabbitMqCertificatesGenerator.RegenerateAndSaveClientCertificate(String certUserName) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\RabbitMQCertificatesGenerator\RabbitMqCertificatesGenerator.cs:ligne 93↓↓   à Qlik.NPrinting.Scheduler.SchedulerModule.Load(ContainerBuilder builder) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Scheduler\SchedulerModule.cs:ligne 74↓↓   à Autofac.Module.Configure(IComponentRegistry componentRegistry)↓↓   à Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)↓↓   à Autofac.ContainerBuilder.Build(ContainerBuildOptions options)↓↓   à Qlik.NPrinting.Scheduler.SchedulerHttpService.Start(String[] args) dans C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Scheduler\SchedulerHttpService.cs:ligne 156↓↓   à System.Threading.Tasks.Task.Execute()<---			
Frank_S
Support
Support

Hi @xiuur2508 

Please attempt the following steps.

  • Uninstall the NP Engine software
  • Open "Manage computer certificates" from the Windows search bar
  • Go to Trusted root Certification Authorities then delete the certificate NPrinting-CA
  • Delete the NP engine in the NP engine manager under Admin>Engine manager in the NPrinting Web Console.
  • Next, re-install the NPrinting Engine software (type/document the certificate password used as you will need it in the next step)
  • Add a new NP engine in the NP engine manager under Admin>Engine manager in the NPrinting Web Console (insert certificate password when prompted)

The NPrinting Engine installation should run as expected and the services should also remain up and running.

  • Cause
    This is likely caused by the NP Installer which is unable to remove the Certificates of the user in which NPrinting was previously installed with. This issue is expected for resolution in the Sept 2019 release but you can use the workaround above in the mean time. 

Since you installed using the local account first, it is likely that NP was not able to remove the certificate installed by that account when you subsequently installed using the domain account. This is a software defect that is being resolve in the Sept. release as mentioned above.

Hope this helps. 

If not, please start a support case with the Qlik Support desk or your Qlik Support partner at your earliest convenience so we can assist you with resolving the issue directly.

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Frank_S
Support
Support

New article created based on this solution which resolved this new NPrinting server installation issue:

https://support.qlik.com/articles/000083287

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!