Perhaps the following will be helpful:
use strict;
use warnings;
use LWP::UserAgent;
use open qw(:std :utf8);
my $ua = LWP::UserAgent->new( ssl_opts => { verify_hostname => 0 } );
my $response = $ua->get('https://<website>');
if ( $response->is_success ) {
print $response->decoded_content;
}
else {
die $response->status_line;
}
See LWP::Protocol::https and LWP::UserAgent.