I want to check whether an https site is launching or not. How can i find this using Perl LWP module to get the content of an https site. I tried LWP::UserAgent module, to get the redirected URL
$ua = LWP::UserAgent->new;
$ua->agent("$0/0.1 " . $ua->agent);
$req = HTTP::Request->new(HEAD => 'http://some.com');
$req->header('Accept' => 'text/html');
$res = $ua->request($req);
$res->is_success => This results in false. giving the below error.
500 SSL negotiation failed.
Note: there is redirection envolved in this.. Where the final url is an https and not http.
Can anyone guide me how to fix this.