Thanks Erel, obviously I should have thought of that.
My error msgs are:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (external/openssl/ssl/s23_clnt.c:683 0xad127577:0x00000000)
and
(SSLProtocolException) javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x42b450: Failure in SSL library, usually a protocol error
My website provider tells me this:
"In summary please adjust [ VisualBasic ] to accept non verified certificates so that it can connection with encryption on."
This is a VPS website and the website does not have an SSL Cert so the hosting provider is telling me to let the B4A (VB to them) accept non verified certificates. Is this possible or do I have to actually install an SSL Cert to get this to work?
Update: my hosting provider gave me this reference to VB.NET and the AuthSLL property. Does B4A support AuthSSL = False or something like it? AuthSSL = False tells the app not to authenticate the SSL cert (which will prevent the connection failure) but the connection data flow will still be encrypted.
http://www.limilabs.com/blog/use-ssl-with-ftp-explicit