Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: SSL connect attempt failed

by hippo (Bishop)
on Aug 12, 2020 at 17:14 UTC ( [id://11120657]=note: print w/replies, xml ) Need Help??


in reply to SSL connect attempt failed

Net::FTPSSL as the name suggests uses FTP over SSL (or TLS) sometimes referred to as FTPS. This is entirely different from and unrelated to SSH so any change in the SSH key will have no effect. If something else on the server has changed then that might go some way to explaining it.

Without more detail anything more would be guesswork. I suggest you try enabling debugging with

use IO::Socket::SSL 'debug4';

and see if that gets you any further towards identifying the real problem. Good luck.


🦛

Replies are listed 'Best First'.
Re^2: SSL connect attempt failed
by Anonymous Monk on Aug 12, 2020 at 17:41 UTC
    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!

      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://11120657]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found