By my read, this is probably a module install issue. From the LWP::UserAgent documentation:
in reply to Perl issue with Windows 7 vs XP
The libwww-perl core no longer bundles protocol plugins for SSL. You will need to install LWP::Protocol::https separately to enable support for processing https-URLs.
Which essentially means you need to install Crypt::SSLeay on your machine to deal with encrypt/decrypt.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.