You say you are using Perl 5.6, Net::SSLeay requires v5.8.1 as of v1.86_05, but supports TLS v1.2 as of release 1.59. Without knowing why you are stuck with a 20 year old perl calling a much more modern perl it's hard to understand why you simply just don't do everything with the modern version.
| [reply] |
Procedure to upgrade Net::SSLeay:
- Find versions of Net::SSLeay and OpenSSL that support perl-5.6 and TLS1.2 and each other. Use the latest version of OpenSSL that you can.
- Install upgraded OpenSSL where the build procedure for Net::SSLeay can find it.
- Unpack a new Net::SSLeay and run perl Makefile.PL && make && make test. If tests fail, try another nearby version of Net::SSLeay until you find one for which the tests pass. After your new Net::SSLeay has passed its tests, use make install to install it.
- Perl programs should now be able to use TLS1.2.
Then get a migration path for moving the entire program to a modern perl interpreter planned, because there is probably no combination of Net::SSLeay and OpenSSL that provides TLS1.3 support in a perl-5.6 installation.
| [reply] [d/l] [select] |