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

Force old SSL (Port 5223)

    XMLWordPrintable

Details

    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

        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

        Issue Links

          Activity

            derekjchoi derekjchoi created issue -
            derekjchoi derekjchoi made changes -
            Field Original Value New Value
            Attachment JabberPublisherDescriptor.java [ 19537 ]
            Attachment global.jelly [ 19538 ]
            Attachment JabberIMConnection.java [ 19539 ]
            derekjchoi derekjchoi made changes -
            Attachment help-ssl.html [ 19540 ]
            kutzi kutzi made changes -
            Attachment jabber.hpi [ 19883 ]
            Attachment instant-messaging.hpi [ 19884 ]
            kutzi kutzi made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            kutzi kutzi made changes -
            Link This issue is related to JENKINS-16383 [ JENKINS-16383 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136958 ] JNJira + In-Review [ 187327 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: