getssl: curl error : 2
Debian verson : 6.0.10
curl 7.52.1 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6 Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: IDN IPv6 Largefile NTLM SSL libz
./getssl -c -f -d xyz.comxyz
detected os type = linux
checking for required which ... /usr/bin/which
checking for required openssl ... /usr/bin/openssl
checking for required curl ... /usr/local/bin/curl
checking for required nslookup ... /usr/bin/nslookup
checking for required awk ... /usr/bin/awk
checking for required tr ... /usr/bin/tr
checking for required date ... /bin/date
checking for required grep ... /bin/grep
checking for required sed ... /bin/sed
checking for required sort ... /usr/bin/sort getssl: curl error : 2
Regards,
Subhankar Ray
It could be that some DNS name requested by you via getssl cannot be looked up via external dns-server
From the command line ( SSH ) if you just do a
curl -I https://raw.githubusercontent.com/srvrco/getssl/master/getssl
what does that give ?
curl -I https://raw.githubusercontent.com/srvrco/getssl/master/getssl curl: (2) Failed initialization
This is a problem with curl on your server. From the curl documentation "Very early initialization code failed. This is likely to be an internal error or problem, or a resource problem where something fundamental couldn't get done at init time. "
Since curl 7.52.1 doesn't seem to be the standard curl from the debian repository - can I ask how you installed curl on that machine ?
Here is what I did after downloading the .gz file: tar -xvzf curl-7.52.1.tar.gz rm *.gz cd curl-7.52.1
Run configuration
./configure
make make install
/etc/init.d/apache2 restart
From the error you are getting the curl installation isn't correct - worth testing to see if you can curl to anything else ( other than just the github one that failed).
I'd suggest removing your manual install, and installing curl from the debian repository ( or just using that version if you already have it installed )
Has using curl from the debian repository resolved this issue ?
I'm going to close this as a GetSSL issue, as I'm 99% certain this is just an issue with your curl installation which wasn't working. If that's not the case though, please reopen the issue, with additional info as to the issue, and I'll happily look further.