As I said earlier I implementing a RADIUS server or at least the part that handle EAP/TLS. When I'm supposed to send the Accept package back to the NAS iI have to send some session keys later used by the NAS and the, in this case, laptop trying to access. These keys are used to derive dynamic WEP keys and must be derived from the negotiated TLS master key
It isn't possible with vanilla Sun SSLSockets or the SSLEngine or indeed anywhere in Sun's implementation of JSSEn because no API is provided for it. Maybe another vendor's implementation of JSSE may ake it available, or maybe the non-JSSE-compliant Phaos implementation does it, I haven't looked at it for years: http://www.phaos.com which now redirects to Oracle. I can't help thinking that if you really need the session key you really have a bigger problem, session keys are supposed to be secret and temporary.
True, but precisely like bjornS, I'm developing a EAP-TLS authentication over RADIUS, and the MS-MPPE-Send- and Recv-Keys are both generated from the Master Key, Client and Server Random values (with the PRF() function defined for TLS handshaking). So it seems like I've to check another JSSE implementation, or maybe implement that handshaking myself. I looked into Sun's implementation and found the PRF and Handshaker classes, but no way to access it in the way I need (all private, and in the "internal" package). But that is probably the way it should be. When running in debug mode, (debug=ssl;keygen) the keys/random values are displayed.
@bjornS,egelNor
hello...
i have a little question (maybe a little offtopic)
i am write my exam these days and its about wlan 802.1x stuff.
because my subject is to make a hotspot solution for private useres
i dont have time to programm a radius server totally myself
but using freeradius / jradius instead
but i am not very happy with that - so i asked myself if you produced code wich
you would give to others (me) for a opensource java radius server
or maybe one wich could be used for my exam.
greetings grischan grischan@web.de