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

Is it possible to run Net::FTPSSL from the command line? I notice this line in the logs "not using SNI because hostname is unknown".

Replies are listed 'Best First'.
Re^3: SSL connect attempt failed
by jcb (Parson) on Aug 14, 2020 at 01:12 UTC

    On line 30, you blanked out an IP address. Because you are connecting to the server using an IP address, Server Name Indication (where the hostname is sent in cleartext as part of the initial TLS negotiation to allow a server handling multiple sites to choose which certificate to present) is not usable. If FileZilla connects successfully given the same IP address, SNI (or lack thereof) is not causing your problem.