Yes, I tried this when server used to support non-TLS connections. Worked well. Now they are saying "Disable Non-TLS connection. Please use secure StartTLS conection". So as far as I understand I have to have in my code, something like:
config.setSocketFactory( SOMETHING );
In some examples I see that for SOMETHING they use 'new DummySSLSocketFactory()' but I'm not sure what it is.
Others are talking about getting a client certificate, signing it with CA, exporting it to local key store e.t.c. Really? I need to do this just to connect to XMPP server? I'm successfully connecting with Miranda IM. I dont see anywhere in Miranda where it would have a client certificate.