<div dir="ltr">What library does it use? OpenSSL or GnuTLS? Under which license is it provided (since OpenSSL is dual-licensed)?<br><br><div class="gmail_quote">On Thu, Dec 27, 2012 at 11:15 AM, Issac Goldstand <span dir="ltr"><<a href="mailto:margol@beamartyr.net" target="_blank">margol@beamartyr.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ActivePerl will give you HTTPS support, too. I don't remember if it's<br>
out-of-the-box, or if you need to "ppm install Crypt-SSLeay", but it's<br>
one or the other....<br>
<div><div class="h5"><br>
On 27/12/2012 10:57, sawyer x wrote:<br>
> Last meeting someone asked about handling HTTPS domains in Perl,<br>
> specifically using WWW::Mechanize.<br>
><br>
> Shortest version (for Windows only):<br>
> 1. Install DWIM Perl.<br>
><br>
> Relatively short version:<br>
> 1. Install the OpenSSL C development library. I'd be happy if someone<br>
> shared how to do this on Windows. In Debian (and Debian-based) GNU/Linux<br>
> you'll need libssl-dev, in RedHat (and RedHat-based) GNU/Linux you'll<br>
> need openssl-devel.<br>
> 2. Install Crypt::OpenSSL.<br>
> 3. Make sure you have LWP::Protocol::https module installed.<br>
> Done.<br>
><br>
> Long version (explanation):<br>
> Since WWW::Mechanize is basically a sophisticated wrapper around LWP, it<br>
> will use LWP::UserAgent. LWP used to be a big library, but now it's<br>
> split into many little libraries. One of these is the HTTPS protocol<br>
> library for LWP called LWP::Protocol::https, which is what<br>
> LWP::UserAgent will use to fetch pages from HTTPS URLs. It will in turn<br>
> use the OpenSSL library (known by the original name for OpenSSL):<br>
> Crypt::SSLeay. Since Crypt::SSLeay is basically bindings to the OpenSSL<br>
> C library, you'll need to have that installed.<br>
><br>
> So, you'll need to install the OpenSSL C library (development files:<br>
> headers, etc.), the Perl bindings (Crypt::SSLeay), the LWP HTTPS<br>
> protocol (LWP::Protocol::https) and from that point LWP::UserAgent and<br>
> WWW::Mechanize will use HTTPS seamlessly.<br>
><br>
> Hope that helps!<br>
> Sawyer.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Perl mailing list<br>
> <a href="mailto:Perl@perl.org.il">Perl@perl.org.il</a><br>
> <a href="http://mail.perl.org.il/mailman/listinfo/perl" target="_blank">http://mail.perl.org.il/mailman/listinfo/perl</a><br>
><br>
<br>
_______________________________________________<br>
Perl mailing list<br>
<a href="mailto:Perl@perl.org.il">Perl@perl.org.il</a><br>
<a href="http://mail.perl.org.il/mailman/listinfo/perl" target="_blank">http://mail.perl.org.il/mailman/listinfo/perl</a><br>
</blockquote></div><br></div>