How to fix: "localhost wants to access connected printers Untrusted Website"

2,163 views
Skip to first unread message

Xybrek Zybrek

unread,
Oct 20, 2016, 12:48:44 PM10/20/16
to qz-print
Is there a way automatically allow qz-tray to access printers, usually every refresh the app with qz-tray asks this "localhost wants to access connected printers Untrusted Website" and if "Remember this decision" checkbox is clicked ACCEPT button does not work but when it is not selected ACCEPT works, is there a way to "Remember" to allow it? 

Or is there a way for qz-tray not to require to validate this at all? 

Here's a screenshot: http://imgur.com/a/UwEKI

Tres Finocchiaro

unread,
Oct 20, 2016, 1:08:21 PM10/20/16
to Xybrek Zybrek, qz-print
The only method to supress the security dialogs is to sign your requests.  This is to ensure you know who they come from.  The signature must validate against the certificate inside QZ Tray, or -- alternately -- a custom certificate which can be provided either at build time or at runtime.

These steps are outlined in the advanced sections of the compilation and signing tutorials, respectively.



Note, QZ Industries, LLC -- the author of QZ Tray -- provides remote assistance with this process as well as a portal for generating the key and certificate with subscription.

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Xybrek Zybrek

unread,
Oct 20, 2016, 11:34:51 PM10/20/16
to qz-print, xyb...@gmail.com
I tried to do this: 

openssl req -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout server.key -out server.crt

Then addeed the override like this:

authcert.override=server.crt

in the qz-tray.properties file.

However it is still the same the dialog box is not suppressed. 


To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.

Tres Finocchiaro

unread,
Oct 20, 2016, 11:36:07 PM10/20/16
to Xybrek Zybrek, qz-print
The key used for the cert needs to be used to sign messages.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+unsubscribe@googlegroups.com.

hendrana...@gmail.com

unread,
Oct 24, 2016, 12:15:12 AM10/24/16
to qz-print, xyb...@gmail.com
do we need to pay for this?
i also got same situation.

Tres Finocchiaro

unread,
Oct 24, 2016, 11:57:16 AM10/24/16
to hendrana...@gmail.com, qz-print, Xybrek Zybrek
i also got same situation.

Signing messages is done through your own private key.  Whether or not the software trusts it depends on the certificate supplied at launch.

Best regards,

-Tres
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+unsubscribe@googlegroups.com.

hendrana...@gmail.com

unread,
Oct 24, 2016, 8:01:47 PM10/24/16
to qz-print
Here i got someone commend

Using your own certificate and private key will work, but only if you override the root certificate using the above command, which you will have to do each and every time you launch the software.

If you purchase support from QZ, you can download your certificate and private key from our portal, and will not have to do anything additional to the clients. You will also receive support from us for any issues you may have in regards to QZ.

So is there any way to do silent printing with own cert without to do again and again during launcing the software

Tres Finocchiaro

unread,
Oct 24, 2016, 8:20:01 PM10/24/16
to hendranata saputra, qz-print
So is there any way to do silent printing with own cert without to do again and again during launcing the software

Yes, in 2.0.2, which hasn't been released yet.  Building from source will give you this feature right away.

Best regards, 

hendrana...@gmail.com

unread,
Oct 24, 2016, 8:26:10 PM10/24/16
to qz-print
Latest version now is 2.0.1
So when i want to do silent printing, we still need to do again and again overide cert during launching the software?

When 2.0.2 launch?

Reply all
Reply to author
Forward
0 new messages