in reply to Re: Get https simple solution desired
in thread Get https simple solution desired

Alternatively, maybe some command line tools are available that already have https capabilities, like wget or curl. Then you can use these to fetch the data.

Or better yet, use modules such as Net::Curl::Easy which leverage their libraries and avoid shelling out.

  • Comment on Re^2: Get https simple solution desired

Replies are listed 'Best First'.
Re^3: Get https simple solution desired
by Corion (Patriarch) on Jun 01, 2018 at 10:18 UTC

    ... if that library is installed, and a C compiler is installed. Both of which are close prerequisites to getting SSL working.

    A statically linked wget or curl binary is more likely to be available in cases where SSL libraries are unavailable.

      if that library is installed

      If the curl executable is installed and working how could the library not be present? I suppose they could have a statically-compiled curl but I've never seen that in the wild.

      and a C compiler is installed

      Good point. That's the much more likely blocker I think. If I were Yahoo (and thank the Old Gods and the New that I am not) there wouldn't be a compiler on these customer-accessible nodes either.

      Is there a pure-perl SSL implementation somewhere on CPAN or did I just dream that?