use strict;
use warnings;
use LWP;
use JIRA::REST;
my $browser = LWP::UserAgent->new;
$browser->proxy(['http','https'],'http://myproxy:8080');
$browser->agent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0");
my %client = ('useragent' => $browser);
my $clientref = \%client;
my $jira = JIRA::REST->new('https://myurl:8443/jira', 'myuser', 'mypass', $clientref);
print $jira->GET("/issue/myissue");
####
Can't connect to myurl:8443 (certificate verify failed)
LWP::Protocol::https::Socket: SSL connect attempt failed error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed at /home/myhome/perl5/lib/perl5/LWP/Protocol/http.pm
####
JIRA::REST Error[500 - Internal Server Error]:
SSL negotiation failed: error:1406D0CB:SSL routines:GET_SERVER_HELLO:peer error no cipher at /home/myhome/perl5/lib/perl5/LWP/Protocol/http.pm