Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: SSL connect attempt failed

by Anonymous Monk
on Aug 12, 2020 at 17:41 UTC ( [id://11120660]=note: print w/replies, xml ) Need Help??


in reply to Re: SSL connect attempt failed
in thread SSL connect attempt failed

Running with:
use IO::Socket::SSL 'debug4'; This is the running results:
Net-FTPSSL Version: 0.27 Perl: 5.010001 [5.10.1], OS: linux Server (port): xxx.xxx.xxx.xxx (21) Keys: (Croak), (Encription), (Trace), (Debug), (Port) Values: (1), (E), (1), (1), (21) SKT <<< 220 ProFTPD 30a Server (jls) [xxx.xxx.xxx.xxx] SKT >>> AUTH TLS SKT <<< 234 AUTH TLS successful DEBUG: .../IO/Socket/SSL.pm:2805: new ctx 43837622 DEBUG: .../IO/Socket/SSL.pm:1503: start handshake DEBUG: .../IO/Socket/SSL.pm:684: ssl handshake not started DEBUG: .../IO/Socket/SSL.pm:720: not using SNI because hostname is unk +nown DEBUG: .../IO/Socket/SSL.pm:773: set socket to non-blocking to enforce + timeout=120 DEBUG: .../IO/Socket/SSL.pm:786: call Net::SSLeay::connect DEBUG: .../IO/Socket/SSL.pm:789: done Net::SSLeay::connect -> -1 DEBUG: .../IO/Socket/SSL.pm:799: ssl handshake in progress DEBUG: .../IO/Socket/SSL.pm:809: waiting for fd to become ready: SSL w +ants a read first DEBUG: .../IO/Socket/SSL.pm:829: socket ready, retrying connect DEBUG: .../IO/Socket/SSL.pm:786: call Net::SSLeay::connect DEBUG: .../IO/Socket/SSL.pm:789: done Net::SSLeay::connect -> -1 DEBUG: .../IO/Socket/SSL.pm:792: local error: SSL connect attempt fail +ed DEBUG: .../IO/Socket/SSL.pm:795: fatal SSL error: SSL connect attempt +failed DEBUG: .../IO/Socket/SSL.pm:1920: downgrading SSL only, not closing so +cket DEBUG: .../IO/Socket/SSL.pm:2827: free ctx 43837616 open=43837622 DEBUG: .../IO/Socket/SSL.pm:2838: OK free ctx 43837622 TLSv1: SSL connect attempt failed

Any suggestions?
Thanks!

Replies are listed 'Best First'.
Re^3: SSL connect attempt failed
by hippo (Bishop) on Aug 12, 2020 at 19:38 UTC

    Your stated versions of Perl (5.10) and Net::FTPSSL (0.27) are very old. It's therefore likely that your versions of IO::Socket::SSL and Net::SSLeay (and probably openssl) are very old too. You might consider upgrading, or at least running the code on a much newer system. It's possible that the TLS versions permitted on the server are newer than your very old client will support.


    🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11120660]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-26 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found