Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6863

Force old SSL (Port 5223)

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • jabber-plugin
    • None

      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();


        1. global.jelly
          4 kB
        2. help-ssl.html
          0.1 kB
        3. instant-messaging.hpi
          92 kB
        4. jabber.hpi
          743 kB
        5. JabberIMConnection.java
          16 kB
        6. JabberPublisherDescriptor.java
          21 kB

            kutzi kutzi
            derekjchoi derekjchoi
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: