in reply to Re: HSTS policy breaks cpan utility on Windows
in thread HSTS policy breaks cpan utility on Windows

cpan> o conf urllist https://www.cpan.org

I had taken a look through MyConfig.pm, but failed to notice "urllist" and its setting.

Amusingly, that alone didn't do the trick for me on Windows because HTTP::Tiny is used as the download agent - and it's not capable of https transfers on a fresh build of perl from source.
Changing the "wget" setting to "wget" fixes that little problem.

Thanks for the assistance !!

Cheers,
Rob
  • Comment on Re^2: HSTS policy breaks cpan utility on Windows

Replies are listed 'Best First'.
Re^3: HSTS policy breaks cpan utility on Windows
by marto (Cardinal) on Nov 22, 2019 at 12:28 UTC

    "Amusingly, that alone didn't do the trick for me on Windows because HTTP::Tiny is used as the download agent - and it's not capable of https transfers on a fresh build of perl from source."

    Ah, sorry, I didn't appreciate that this was a perl you'd built yourself. Strawberry (I've no idea about AS these days) ships with the required IO::Socket::SSL and Net::SSLeay for direct SSL/https support within HTTP::Tiny.