watson / ipp-printer

An IPP printer written in Node.js
MIT License
548 stars 81 forks source link

Add optional configurations to run HTTPS/ IPPS print server. #41

Open Harsimran1 opened 2 years ago

Harsimran1 commented 2 years ago

WHY

In order for to be used by services Papercut, it is imperative that the printer is available over IPPS/ HTTPS.

HOW

This PR adds optional parameter sslConfig in the Printer constructor options. This sslConfig is later used in bind.js file to create HTTPS server.