Since two days i can't generate bitly url. Here is the error i am having:
$VAR1 = bless( {
'_content' => 'Can\'t connect to api-ssl.bitly.com:44
+3
LWP::Protocol::https::Socket: SSL connect attempt failed with unkn
+own error error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unkn
+own message digest algorithm at /usr/local/share/perl/5.10.1/LWP/Prot
+ocol/http.pm line 51.
', '_rc' => 500,
'_headers' => bless( {
'client-warning' => 'Internal
+response',
'client-date' => 'Wed, 15 Apr
+2015 18:08:08 GMT',
'content-type' => 'text/plain'
}, 'HTTP::Headers' ),
'_msg' => 'Can\'t connect to api-ssl.bitly.com:443',
'_request' => bless( {
'_content' => '',
'_uri' => bless( do{\(my $o =
+'https://api-ssl.bitly.com/v3/shorten?login=LOGIN&apiKey=API_KEY&long
+url=LONG_URL')}, 'URI::https' ),
'_headers' => bless( {
'user-a
+gent' => 'libwww-perl/6.04'
}, 'HTTP:
+:Headers' ),
'_method' => 'GET'
}, 'HTTP::Request' )
}, 'HTTP::Response' );
cat /etc/issue.net
Ubuntu 10.04.4 LTS
openssl version -a
OpenSSL 0.9.8k 25 Mar 2009
built on: Mon Aug 18 16:08:20 UTC 2014
platform: debian-amd64
options: bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) blowfi
+sh(ptr2)
compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT
+ -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexec
+stack -g -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSH
+A256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM
apt-cache policy openssl
openssl:
Installed: 0.9.8k-7ubuntu8.21
Candidate: 0.9.8k-7ubuntu8.27
Version table:
0.9.8k-7ubuntu8.27 0
500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packa
+ges
500 http://security.ubuntu.com/ubuntu/ lucid-security/main Pac
+kages
*** 0.9.8k-7ubuntu8.21 0
100 /var/lib/dpkg/status
0.9.8k-7ubuntu8 0
500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
$ perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION'
1.74
$ perl -MIO::Socket::SSL -e 'print $Net::SSLeay::VERSION'
1.48
$ perl -MIO::Socket::SSL -e 'print $LWP::Protocol::https::VERSION'
+
$ perl -MLWP -le "print(LWP->VERSION)"
6.04
$ perl -MIO::Socket::SSL -e 'print Net::SSLeay::OPENSSL_VERSION_NU
+MBER()'
9470143
Any insight appreciated.