I have a page that includes the resource `<link rel="stylesheet" href="https://use.typekit.net/APIKEY.css">` to provide some font faces.
I've run into a surprising issue. If I pass the `--insecure` option to Prince, the load fails and the special fonts don't get used:
But if I leave the option out, it works just fine!
Why would allowing insecure fetches make Prince break when fetching over an already-trusted TLS connection?
(I found an old related thread in http://www.princexml.com/forum/topic/2919/ssl-on-osx-yosemite but it was not answered.)
I've run into a surprising issue. If I pass the `--insecure` option to Prince, the load fails and the special fonts don't get used:
Thu Sep 28 15:07:46 2017: loading style sheet: https://use.typekit.net/APIKEY.css
Thu Sep 28 15:07:46 2017: https://use.typekit.net/APIKEY.css: warning: SSL: CA certificate set, but certificate verification is disabled
Thu Sep 28 15:07:46 2017: used font: Times New Roman, Regular
But if I leave the option out, it works just fine!
Thu Sep 28 15:19:34 2017: loading style sheet: https://use.typekit.net/APIKEY.css
Thu Sep 28 15:19:35 2017: loading style sheet: https://p.typekit.net/p.css?s=1&k=…snip…&app=typekit&e=css
Thu Sep 28 15:19:36 2017: used font: Adobe Garamond Pro, Regular
Why would allowing insecure fetches make Prince break when fetching over an already-trusted TLS connection?
(I found an old related thread in http://www.princexml.com/forum/topic/2919/ssl-on-osx-yosemite but it was not answered.)