Subject: XMPP TLS negotiation
hey guys,
im developing a xmpp server at the moment.
I'm trying to implement XEP-0035 SSL/TLS Integration. The client is set to StartTls and the certificate is also set.
On the server while sending the StreamFeatures i'm using:
The XEP-0035 say:
But if I close the stream by sending "</stream:stream>" the connection is closed and nothing happens now.
How is the right way /how to fix it?
Thank you for your help
Sincerely
Michael Trinkies
im developing a xmpp server at the moment.
I'm trying to implement XEP-0035 SSL/TLS Integration. The client is set to StartTls and the certificate is also set.
On the server while sending the StreamFeatures i'm using:
The XEP-0035 say:
To begin the TLS negotiation, the client issues the STARTTLS command:
Example 3. STARTTLS request
C: <tls:starttls/>
When the server is ready to begin the TLS negotiation, it will close the XML stream, but will keep the underlying connection to the client open:
Example 4. STARTTLS response
S: </stream:stream>
But if I close the stream by sending "</stream:stream>" the connection is closed and nothing happens now.
How is the right way /how to fix it?
Thank you for your help
Sincerely
Michael Trinkies
This post was edited on 2017-02-01, 13:07 by Alex.