I am trying to build curl on my RHEL 6.x box as the existing version does not support TLSv1.2. However, no matter what option I select, it always ends up with the following error :
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more. configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls....
The options I have attempted are
./configure --with-ssl ./configure --with-ssl=/usr/bin/openssl ./configure --with-nss ./configure --with-gnutls
I have also attempted to download and build nss and openssl but that did not help either.
-develpackages installed for openssl, nss and/or gnutls? – HBruijn Aug 31 '16 at 16:16--tlsv1.2flag. What doescurl --help | grep tlsshow you?curl --versionsays it includes these libraries:curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2. – Stefan Lasiewski Aug 31 '16 at 16:33--without-ssl --with-nss=~youruser/lib/nssper https://curl.haxx.se/docs/install.html . But be warned, compiling your own software in this way can lead you down a rathole. The best, most maintainable solution is for your Unix team to simply update curl and NSS viayum update. To me, it looks like yourcurlandnsspackages are out of date, which is why you're having problems in the first place. – Stefan Lasiewski Aug 31 '16 at 17:47