develooper Front page | perl.perl5.porters | Postings from May 2021

Re: PSC #021 2021-05-21

Thread Previous | Thread Next
Tony Cook
May 25, 2021 05:21
Re: PSC #021 2021-05-21
Message ID:
On Sun, May 23, 2021 at 03:30:24PM +0100, Neil Bowers wrote:
> Rik suggested that in this day and age Perl should really handle
  https, so we talked about that. Step 1 would be for Configure to
  notice that you've got openssl installed, so we could install
  Net::SSLeay for you. Even better would be if we could have
  IO::Socket::SSL included as well, so HTTP::Tiny could do https "out
  of the box". Possible 3rd step might be bundling openssl/libressl,
  but one step at a time. We'll talk about this some more.

I suspect on Win32 it would be simpler to use Win32::Internet (or
something that wraps the same APIs), of course there would need to be
another wrapper that selects that on Win32 and HTTP::Tiny otherwise.

Another option would be an IO::Socket::SSL compatible wrapper around
the Win32 crypto API, but this would be a lot more effort.

Either has the advantage that it uses the Windows certificate store,
which I think is more likely to be kept up to date than other sources.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About