Forum How do I...?

Fetch a html page via https?

mong
Moin,

how do I fetch a html page over https?

% prince -o foo.pdf https://s/d.html
% prince: https://s/d.html: error: libcurl was built with SSL disabled, https: not supported!
% prince: https://s/d.html: error: could not load input file


I understand the error message but is it possible to bring it to work? I think prince is a static binary so using a local libcurl with ssl isn't a option.

Any idea?
Mong
mikeday
We will try enabling support for HTTPS URLs for the next release of Prince. I've added this issue to the roadmap. In the meantime, you will need to use curl or wget to retrieve the documents over HTTPS.
mong
mikeday wrote:
In the meantime, you will need to use curl or wget to retrieve the documents over HTTPS.


The Problem with using curl or wget is, that I've got the media stylesheet not the print.css. I have to put the print.css on the local system an use the "-s" switch.

Mong
mikeday
Right, it will be more convenient when we support this in Prince. We will try and have it ready for the next maintenance release.
mikeday
We have added support for HTTPS URLs to the Prince 6.0 rev 3 release. Please give it a try and let us know how it goes! :)