Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: HSTS policy breaks cpan utility on Windows

by syphilis (Archbishop)
on Nov 22, 2019 at 00:41 UTC ( [id://11109025]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11109025]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-19 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found