Code: Select all
ERROR: cannot verify 127.0.0.1’s certificate, issued by â€/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CAâ€:
Unable to locally verify the issuer’s authority.
ERROR: certificate common name â€*.snapon.com†doesn't match requested host name â€127.0.0.1â€.
To connect to 127.0.0.1 insecurely, use ‘--no-check-certificate’.Code: Select all
/usr/local/bin/wkhtmltopdf --no-outline -O "Portrait" --footer-spacing 3 --margin-bottom 14mm --footer-font-size 9 --no-check-certificate --footer-left "Network Analyzer Report" --footer-right "Page [page] of [toPage]" "http://127.0.0.1/nagiosna/index.php/sources/reports/1?download=1&token=<apikey>&q[rid]=1&q[sid]=2" "/tmp/page.pdf"