Code Monkey home page Code Monkey logo

Comments (7)

ForNeVeR avatar ForNeVeR commented on July 16, 2024

We already had a conversation about some Cisco product, but for now I still have no idea what the "CISCO CUCM" or "Cisco Jabber" is :(

Could you please show a stacktrace and some application logs?

from jabber-net.

ForNeVeR avatar ForNeVeR commented on July 16, 2024

If you would explain to me what is the "legacy SSL" and how's it different from the "actual SSL", then I could try to fix the issue in the library.

from jabber-net.

cguanes avatar cguanes commented on July 16, 2024

I believe the error that I'm getting is similar to the other conversation on "CISCO CUCM".
Unfortunately I don't know what Jetbrains Youtrack implemented as "LegacySSL" either. And I couldn't find more information googling for it.
It shows the same thing in Jenkins, maybe this can help: https://issues.jenkins-ci.org/browse/JENKINS-2699. Maybe the connection need to fall to SSL2 or SSL1

from jabber-net.

ForNeVeR avatar ForNeVeR commented on July 16, 2024

Alright, this sheds some light onto what the "legacy SSL" is: https://github.com/RestComm/jain-slee.xmpp/blob/77cfa474c0e04a38f6f854837fbd7fcfd4e216f2/resources/xmpp/library/src/main/java/org/jivesoftware/smack/SSLXMPPConnection.java

So, the modern approach seem to be to use a dedicated SSL port, and this one just dynamically negotiates SSL over the existing port.

from jabber-net.

cguanes avatar cguanes commented on July 16, 2024

from jabber-net.

cguanes avatar cguanes commented on July 16, 2024

Alright, this sheds some light onto what the "legacy SSL" is: https://github.com/RestComm/jain-slee.xmpp/blob/77cfa474c0e04a38f6f854837fbd7fcfd4e216f2/resources/xmpp/library/src/main/java/org/jivesoftware/smack/SSLXMPPConnection.java

So, the modern approach seem to be to use a dedicated SSL port, and this one just dynamically negotiates SSL over the existing port.

Will you be able to implement something like that?
Right now this is what I'm getting (replaced domain.com)
(using SSL = false)
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="cedb8676" xmlns="jabber:client" to="domain.com" version="1.0">
RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='18B27853BF4C' from='domain.com' version='1.0'>
RECV: stream:features</stream:features>
SEND:
RECV:
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="b54f621e" xmlns="jabber:client" to="domain.com" version="1.0">
RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='18B27853BF4C' from='domain.com' version='1.0'>
RECV: stream:featuresPLAINCISCO-VTG-TOKENOAUTHBEARER</stream:features>
SEND: AG93YW5qYWJiZXJAcnRhLmNvbQBJd2FuZW1hNzh5ZXM=
RECV:

When I use SSL=True, I just get the error "Authentication failed because the remote party has closed the transport stream."

from jabber-net.

ForNeVeR avatar ForNeVeR commented on July 16, 2024

I believe so.

from jabber-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.