[Jradius] JRadius Simulator and radsecproxy (TLS)

JB list.coovachilli at me.com
Mon Jun 3 19:21:23 UTC 2013


I think, I got it!

Apparently, SSLContext.getInstance("TLSv1") isn't a broad enough hint for the SSLSocketFactory which protocol the socket should apply.
I had to explicitly enable the "TLSv1" protocol via socket.setEnabledProtocols() .
For this to work, socket and socketAcct have to be instances of SSLSocket.

Cheers,
JB


> I will give it a look...
> 
> 
> 
> On Mon, 2013-06-03 at 12:40 +0200, JB wrote:
>> Okay, I've spent the whole morning installing a Java development environment and missing libraries (I thought Maven should take care of that?).
>> Now, I can successfully build the client with the change you proposed.
>> Unfortunately, I'm still getting the same error ("SSL3_GET_RECORD:wrong version number") from radsecproxy when I make a request.
>> 
>> Am I missing something?
>> 
>> Thanks!
>> JB
>> 
>>> Yes, RadSecClientTransport.initialize(), change
>>> SSLContext.getInstance("SSLv3") to SSLContext.getInstance("TLSv1")
>>> 
>>> Cheers,
>>> David
>>> 
>>> On Fri, 2013-05-31 at 20:47 +0200, JB wrote:
>>>> Hi!
>>>> 
>>>> I wanted to use the JRadius Simulator to test my radsecproxy configuration.
>>>> Unfortunately, I'm getting an "SSL3_GET_RECORD:wrong version number" error from radsecproxy.
>>>> 
>>>> I found an old thread over on the CoovaChilli mailing list which addresses the very same issue:
>>>> http://lists.coova.org/pipermail/chilli/2010-June/001430.html
>>>> 
>>>> Could this also be a solution for JRadiusSimulator or is this a different issue?
>>>> 
>>>> Thanks!
>>>> 
>>>> JB
>> 
> 
> 



More information about the Jradius mailing list