Problems using LWP::Protocol:https under macOS Catalina

787 Views Asked by At

When I run a program using LWP::UserAgent (that worked until now) I get the error message

501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)

But when I run cpan it says LWP::Protocol::https is installed:

cpan[1]> install LWP::Protocol::https                                                                                    
Reading '/Users/yannis/.cpan/Metadata'
  Database was generated on Sun, 27 Sep 2020 12:56:00 GMT
LWP::Protocol::https is up to date (6.09).

What can I possibly be doing wrong?

1

There are 1 best solutions below

4
On

I solved the problem by installing Net::SSLeay and IO::Socket::SSL.

A pity LWP::Protocol::https cannot emit a warning asking the user to install those two…