The tool "node-red-contrib-web-page-screenshot" has worked on every webpage I have tried it on, except the ones that throw a "Your connection is not private" certificate error.
I've tested http, https, http with atypical ports, https with atypical ports... all fine.. unless there is a cert error..
Directly from command line to a local machine that doesn't have a signed cert...
/usr/bin/chromium-browser --disable-gpu --headless --window-size=1920,1080 --ignore-certificate-errors --screenshot=/tmp/image2.png https://10.128.128.14/
I receive the following error:
[0529/205143.150969:ERROR:cert_verify_proc_nss.cc(998)] CERT_PKIXVerifyCert for 10.128.128.14 failed err=-8179
A file is still created, but it is just the site's background image and nothing else...
[0529/205143.409172:INFO:headless_shell.cc(619)] Written to file /tmp/image2.png.
The questions are:
-
Any idea on how to bypass the "Your connection is not private" click to proceed error via the command line. With this I can work round the issue in the near term...
-
Can the fix to the previous question be incorporated into this screenshot node?
As I said it works on most everything I've tested so its pretty solid, minus this certification issue.
Thanks!
MGarito