Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Nov 6, 2015 8:58:33 AM
Nov 6, 2015 8:58:33 AM
NOTE: NPrinting On Demand does NOT support reverse proxy server configurations nor software/hardware web load balancers at this time. It is currently designed to work with http or https in a non load-balanced front environment where ports 9000 and 9001 are left open for use with NPrinting On Demand Exclusively.
SSL can be enabled selectively per-endpoint.
For example, you can enable SSL for HTTP endpoint and disable SSL for WS endpoint. Also see "NPrinting On-Demand: Architecture and Configuration".
A valid SSL certificate signed by a valid CA (public or domain) must be bound to the https://yourhostdnsname:ajaxport/ address you plan to use for the endpoint.
Ports reservation are done automatically at service startup in NPrinting 14.0.0.12 or higher releases. In some installations, you must reserve TCP ports listening for the On-Demand service process.
After opening a Command Prompt as Administrator, check if SSL is enabled:
If a port is reserved by another process and you are sure you can use it with On-Demand, remove the reservation before enabling it typing the following:
Enter netsh http delete urlacl url=https://+:9000/ (replace 9000 with target TCP port and http with https if SSL is enabled)
If you already have a SSL certificate, go directly to "Get the Certificate Thumbprint" step further below in this tutorial.
After logging in with your NPrinting Server account, download and install "Microsoft Windows SDK for Windows 7 and .NET Framework 4" if your system does not have "makecert" installed.
Select Tools during the installation and finish the installation
Right click on Windows SDK 7.1 Command Prompt and select Run as administrator
This command create a certificate (.cer) and a Private Key (.pvk) in C:\ root folder.
Execute the command mmc.exe then:
After clicking on Finish, click on OK
After returning to the Command Prompt:
If you already have a certificate you can import it:
After reopening the Microsoft Management Console and clicking F5:
After opening a Command Prompt as Administrator:
If you get the error "SSL Certificate deletion failed, Error: 2 The system cannot find the file specified." means that there weren't certificates bound to these ports.
Netsh command works only starting from Windows Vista and Windows Server 2008, if you use an older version refer to "How to: Configure a Port with an SSL Certificate"
After reopening the Command Promt:
Enter netsh http show sslcert
Using this command is possible to see all the SSL certificate added. If all step have been performed correctly, you will see the certificates which you added in previous steps.
If you want to use SSL you must enable SSL on ON-Demand Components
After opening the Services manager:
If you go to https://localhost:9000/ods, you can see the a green padlock and that the certificate has been accepted.
NOTE: NPrinting On Demand does NOT support reverse proxy server configurations nor software/hardware web load balancers at this time. It is currently designed to work with http or https in a non load-balanced front environment where ports 9000 and 9001 are left open for use with NPrinting On Demand Exclusively.