TLS
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have a few questions about the use of the TLSProfile:
* Firstly what is the advantages of JSSE over PTLS and vica versa?
* Do I need to use the startChannel method inherited from the tunningProfile or can I just use the session object?
* I have a situation where a session is established, and then the listener starts the TLS (without authentication). I assume that by setting up a handshakeCompleteListener I can find out when the TLS is started. If the client now tries to send a message then an error occurs:
SEVERE: javax.net.ssl.SSLException: Recieved fatal alert: unexpected_message
It looks like this is caused due to the session object needs updating. By sending a message from the listener (started TLS) and then using the session object from the message (message.getChannel().gatSession()) I can avoid the problem. Is there another way of getting the current session object?
* How do I go about setting the TLS up for authentication where can I create a private-public key pair, etc.
I am in the process of implementing XML-RPC over beep, if anyone is intrested in this let me know.
Thanks
Sean
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/