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: 
balajibc64
Specialist
Specialist

Error Qlik NPrinting on demand with Qlik View

Hi I'm facing the below error while connecting the QlikView with Qlik NPrinting. 

Error message: "No connection with NPrinting server. Please check your network settings or contact the administrator." when I click On-Demand in the QlikView Access Point

As per document, I done this "Log into the Qlik NPrinting Web Console using the Qlik NPrinting services Window domain user and accept the certificate."

Still facing issue. Any other things need to perform ? 

@Albert_Candelario 

 

Labels (4)
15 Replies
balajibc64
Specialist
Specialist
Author

Created the group like Qlik Management API and Admin all set. 
Qlik View Server => Server 1
Qlik Nprinting => Server 2
 
Step 1 : Installed OpenSSL in both servers
Step 2: Login into QlikNprinting and go to the OpenSSL in C drive --> Bin --> Create the Key file and PFX in this Bin folder. 
         openssl req -newkey rsa:4096 -nodes -keyout NPrinting.key -x509 -days 1365 -out NPrinting.crt -subj "/C=QA/ST=Doha/L=DOHA/O=TEST/CN=SERVER2"
openssl pkcs12 -export -out nprint_p12_QLS0005.pfx -inkey NPrinting.key -in NPrinting.crt 
Step 3: After that, I got my KEY file and PFX file and Certificate file.  
Created under this Path : C--> ProgramFiles --> OpenSSL-win64--> Bin 
 
balajibc64_0-1687775878606.png

 

Step 4: Copy those files into the Webconfig and Newstand folder and change the code in APP config file. 
balajibc64_1-1687775973415.png

In APP Config file 

balajibc64_2-1687776011570.png

 

Step 5: Then I add the certificate in the Trusted Root ceritification. 
MMC => File => add / remove snap in => certificate => Add on computer account. => Local computer => Finish. ok
expand the certificate => Trusted root certifiation authority => certificate => right click on certificate => All tasks => import => local machine => next. browse to crt file copied to => next .next and ok. wait till the mmc successfully import message. 
Verify the certificate trusted by clicking on crt file.
Step 6: Copy the same key and PFX files into Qlik View Server (Server1), then add the certificate for the same. I mean followed the STEP 5 in the Qlik View server. 
Step 7: Then I installed the NPrinting On Demand in the  QlikView Server (Server 1). 
Step 8: After installed, login the Nprinting by clicking the Windows login 
balajibc64_3-1687776123131.png

Step 9: Added the trusted login in Qlik NPrinting. 

Step 10: Created some reports, and enable the On demand button. 

 

balajibc64
Specialist
Specialist
Author

But I tried to copy paste the generated key into the JWT, but its showing Invalid key. 

balajibc64_4-1687776310982.png

 

Frank_S
Support
Support

I think you need professional services to review your deployment at this stage.

If you are actually trying to install on QlikView IIS access point, that is significantly more involved. Professional services or a trusted partner with experience in that configuration can help you with that. Your Access point would also need to be configured accurately as well.

Installing On-Demand Add-on on a Microsoft IIS hosted QlikView AccessPoint

If just regular QVWS access point, then you do not need to configure JWT.

Installing On-Demand on a QlikView Web Server

...and again, you do not need a certificate (.crt and .key) securing the NP server to make this work.

If you are using a certificate to secure the NP web server, then you need to ensure you do it correctly.

Many customers miss step 2 of this process (removing the password from the .key file).

How to configure a .pfx certificate for use with N... - Qlik Community - 1711079

Kind regards...

 

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

Hi All, Issue was resolved. It occurs due to cookies. So I navigate to browser tool and copied the respective url links and paste in another window tab and then just accept. 

Once done I tried to create report then its working fine.  For one time need to accept the cookies. 

@Frank_S @Lech_Miszkiewicz @David_Friend @Lucas_Gatling  Thanks all. 

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

I am glad you got this fixed. Interesting though that you had to go through those steps. That must be to some restrictive group policies or maybe in the past you have set to not allow cookies from nprinting address?

anyways - thanks for sharing!

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.
balajibc64
Specialist
Specialist
Author

The issue was resolved. Here we are doing in the TEST environment so we did manually copied the url from windows tool and ran the url lin. But question If I implemented in PROD, every users wont do this cookie activities right. Is it any other way to do automatically. ?