-
Notifications
You must be signed in to change notification settings - Fork 0
Trusted SSL websocket
klabarge edited this page May 8, 2018
·
1 revision
- Override self-signed certificate with a trusted SSL certificate
- This is nice using the print-server approach to avoid manual certificate installation on each client when using HTTPS
- SSL certificate from a trusted CA
-
Install QZ Tray
-
Install OpenSSL
-
Override self-signed cert
Open an administrative cmd prompt
cscript "%PROGRAMFILES%\QZ Tray\auth\windows-keygen.js" "%PROGRAMFILES%\QZ Tray" install "" "" "cert.pem" "privkey.pem"
-
Restart QZ Tray
If scripting the process, use the below command
wmic.exe process where "Name like '%java%' and CommandLine like '%qz-tray.jar%'" call terminate
-
Install QZ Tray
-
Override self-signed cert
sudo /Applications/QZ\ Tray.app/auth/apple-keygen.sh install "" /etc/qz-tray/certs/cert.pem /etc/qz-tray/certs/privkey.pem
-
Restart QZ Tray
-
Install QZ Tray
-
Override self-signed cert
sudo qz-tray-2.0.6.run -- -y "" /etc/qz-tray/certs/cert.pem /etc/qz-tray/certs/privkey.pem