Reputation: 11
I am writing Perl script on linux box that uses SOAP:Lite
and LWP::Protocol::https
. Those modulea use openssl to negotiate SSL connections.
I needed to a resent version openssl to get TLS 1.2, but sysadmin doesn't want to upgrade current one and give me a local version of openssl.
How can perl
point to that local version. Will I have to rebuild all Perl modules?
Upvotes: 1
Views: 4042
Reputation: 123639
You'll need to rebuild the Net::SSLeay module which provides the OpenSSL binding for IO::Socket::SSL which itself is the library used by LWP (and thus SOAP::Lite) for SSL since LWP version 6.
To rebuild Net::SSLeay with a specific version of OpenSSL
you need to have a C-compiler and the specific SSL library and their header files installed in a directory which you can specify with OPENSSL_PREFIX
. See the Net::SSLeay README for detailed build instructions.
Upvotes: 2