Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
TH1
Contributor
Contributor

Nprinting-CLI

Hello,

I'm trying to use the Nprinting-CLI tools to run a import task from nprinting.  When logged into the server that is running Nprinting in our Qlik Sense enviornment I continue to get the following error:

PS C:\Windows\system32> Connect-NPrinting

WARNING: From:
Response:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

PS C:\Windows\system32>

I have used the Nprinting Service account, a local Nprinting account and the Qlik Service account with no luck in establishing the connection.

Looking for assisstance.

 

 

 

Labels (2)
1 Solution

Accepted Solutions
TH1
Contributor
Contributor
Author

Thanks Lech.  You posted another response to  using the api in nprinting to start and import task.  I went this route and it's working as expected based on your posted instructions in the link below.  The Nprinting CLI was not the way to go.

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/QlikView-NPrinting-November-2019-Automate-I...

Thanks again.

 

View solution in original post

3 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Well, 

  • NPrinting 17.3 is product from year 6 year ago and is no longer supported - upgrade to supported version and always provide actual version when creating topic in NPrinting Community
  • NPrinting CLI is not officially supported Qlik product - so whatever you are using i suggest you contact developer who has created CLI library
  • if you are using this library: https://github.com/QlikProfessionalServices/QlikNPrinting-CLI it provides you with the steps.
    • The fact that you are getting error is probably due to certificates not trusted. You may want to choose option TrustAllCerts (see gif below)

Lech_Miszkiewicz_0-1645143749490.gif

Cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
TH1
Contributor
Contributor
Author

Thanks Lech.  You posted another response to  using the api in nprinting to start and import task.  I went this route and it's working as expected based on your posted instructions in the link below.  The Nprinting CLI was not the way to go.

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/QlikView-NPrinting-November-2019-Automate-I...

Thanks again.

 

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @TH1 - fair enough. I am glad you have found a solution to your requirement. 

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.