Closed GoogleCodeExporter closed 8 years ago
Please share your sip stack properties file and TLS settings. You can try the
tip here
http://kennykee.com/350/javax-net-ssl-sslexception-received-fatal-alert-bad_reco
rd_mac-simple-solution/ by allowing on SSL v3 ?
Original comment by jean.deruelle
on 17 Apr 2014 at 7:22
I tried
http://kennykee.com/350/javax-net-ssl-sslexception-received-fatal-alert-bad_reco
rd_mac-simple-solution/ but it does not work.
Attached the requested files.
Thank you in advance.
Original comment by lip...@gmail.com
on 21 Apr 2014 at 9:48
Attachments:
try to add to the SIP Stack props
gov.nist.javax.sip.TLS_CLIENT_PROTOCOLS=SSLv3,SSLv2Hello
or only gov.nist.javax.sip.TLS_CLIENT_PROTOCOLS=SSLv3
gov.nist.javax.sip.TLS_CLIENT_PROTOCOLS is a String Comma-separated list of
protocols to use when creating outgoing TLS connections. The default is "SSLv3,
SSLv2Hello, TLSv1". Some servers do not support SSLv2Hello, so override to
"SSLv3, TLSv1".
Original comment by jean.deruelle
on 24 Apr 2014 at 10:20
Original comment by jean.deruelle
on 25 Apr 2014 at 6:18
I tried this fix. It does not work. I have the same error.
Thank you in advance.
Original comment by lip...@gmail.com
on 28 Apr 2014 at 12:34
Can you attach the wireshark trace ? Also this doesn't seem to be a SIP
Servlets Container issue but a JDK Issue
http://stackoverflow.com/questions/22318729/javax-net-ssl-sslexception-received-
fatal-alert-bad-record-mac. Can you retry with OpenJDK to see if that works
better ?
Original comment by jean.deruelle
on 28 Apr 2014 at 12:41
[deleted comment]
with openjdk it does not work better.
Attached the wireshark trace
Original comment by lip...@gmail.com
on 28 Apr 2014 at 2:13
Attachments:
It doesn't show the TLS handshake attempts done against the SIP Port at 5081
which gives this exception.
This is happening on an outgoing or incoming connection ?
In case it's incoming :
I noticed JAIN SIP uses TLS as hardcoded when creating the server SSL context
https://code.google.com/p/jain-sip/source/browse/src/gov/nist/javax/sip/stack/Ni
oTlsMessageProcessor.java#130
Do you have any skills to modify this to take another value from
http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.htm
l#SSLContext such as TLS v1.2 exclusively
Original comment by jean.deruelle
on 28 Apr 2014 at 2:36
I changed NioTlsMessageProcessor.java (attach file) but the problem is the same.
Original comment by lip...@gmail.com
on 28 Apr 2014 at 4:07
Attachments:
Only seen on Windows 8.1 not Linux. Seems OS dependent and not related to MSS
itself so closing the issue. Feel free to comment back if it happens again on
linux
Original comment by jean.deruelle
on 8 May 2014 at 1:51
Original comment by jean.der...@telestax.com
on 25 Aug 2014 at 10:53
Original issue reported on code.google.com by
lip...@gmail.com
on 21 Mar 2014 at 6:00