Use an existing trusted PaperCut NG/MF certificate
If you have an existing trusted PaperCut NG/MF certificate, then based on the type of certificate, you can import it into the PaperCut NG/MF keystore:
-
On Windows, a certificate with an attached private key stored in either:
-
the Windows certificate store
-
a PKCS#12 file (*.p12/*.pfx)
-
-
On Linux, separate 'PEM encoded' key and certificate files.
To use existing trusted PaperCut NG/MF certificate:
Step 1: Export the existing trusted certificate and key
If you already have a PKCS#12 file, you do not need to perform this step.
The way in which you export your existing trusted certificate and key depends on where it is stored. One common method of exporting is via the Windows Certificate Store:
-
Open the Windows Control Panel; then select Internet Options.
-
On the Content tab, click Certificates.
-
On the Personal tab, select the certificate; then click Export.
-
Click Next at the initial screen.
-
Select Yes, export the private key; then click Next.
If you selected the last option correctly, you can export only as a .PFX file.
-
Select the Include all the certificates in the certification path if possible check box.
-
Clear the Enable strong protection check box.
-
Clear the Delete the private key if the export is successful check box.
-
Type a password for the PFX file. This is only used temporarily.
-
Save the PFX file with the extension .pfx. (This is just temporary, you MUST delete this file later on.)
-
Finish the wizard to export the certificate.
Step 2: Import the existing trusted certificate into the PaperCut NG/MF keystore
The way in which you import your trusted certificate into the PaperCut NG/MF keystore depends on the type of certificate you have:
Step 3: Configure the PaperCut NG/MF keystore
To configure the PaperCut Application ServerAn Application Server is the primary server program responsible for providing the PaperCut user interface, storing data, and providing services to users. PaperCut uses the Application Server to manage user and account information, manage printers, calculate print costs, provide a web browser interface to administrators and end users, and much more. to use the new key/certificate:
-
Copy your signed keystore onto the server running the PaperCut NG/MF Application Server. The suggested location is [app-path]/server/custom/my-ssl-keystore
-
Open the file [app-path]/server/server.properties with a text editor (e.g. Notepad).
-
Remove the # (hash) comment marker from all lines starting with:
server.ssl.keystore=
server.ssl.keystore-password=
server.ssl.key-password=
-
Define the following:
server.properties value Description server.ssl.keystore
The location of your keystore. This must match the value specified by -k in create-ssl-keystore.
If you did not specify this value in create-ssl-keystore, leave it as default.
server.ssl.keystore-password
The keystore password. This must match the value specified by -keystorepass in create-ssl-keystore.
If you did not specify this value in create-ssl-keystore, leave it as default.
server.ssl.key-password
The keystore key password. This must match the value specified by -keystorekeypass in create-ssl-keystore.
If you did not specify this value in create-ssl-keystore, leave it as default.
-
Save the file.
NOTEOn Mac OS, for server.ssl.keystore, specify the FULL path to your keystore. For example, /Applications/PaperCut NG/MF/server/custom/my-ssl-keystore
-
Restart the PaperCut NG/MF Application Server.