Details
-
New Feature
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
First of all, great work with the Jabber plugin!
There are issues with certain Jabber servers that must require the SSLSocketFactory to connect to.
This feature is available in Pidgin as "Force old (port 5223) SSL".
It would be great to offer something similar in the Jabber plugin
I succeeded in this with a simple program using the Smack 3.1.0 API and just setting the SocketFactory to SSLSocketFactory.getDefault() as you see below:
ConnectionConfiguration config = new ConnectionConfiguration("<hostname>", 5223, "<servicename>");
config.setSocketFactory(SSLSocketFactory.getDefault());
XMPPConnection connection = new XMPPConnection(config);
connection.connect();
Attachments
Issue Links
- is related to
-
JENKINS-16383 add option for SSL connection instead of SASL
-
- Resolved
-
I wonder which Jabber server you are using, which still requires legacy SSL?
I mean, it's called 'legacy' with a reason: any halfway recent server shouldn't need it anymore.
Can't you upgrade your server to a newer version which can handle the standard SSL?
I've removed legacy SSL support in v1.7 of the plugin and I would really like to leave it this way - it's always good to throw away some old stuff, when it's not needed anymore.