use LWP::UserAgent; use Data::Dumper; $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; my $address = "***"; my $port = "443"; my $username = "***"; my $pass = "***"; my $browser = LWP::UserAgent->new; my $req = HTTP::Request->new( GET => $address); $req->authorization_basic( $username, $pass ); my $page = $browser->request( $req ); print $page->content;