Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL error

 
Felix Sima
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I have an application that works fine with JVM 1.4.x.
I'm trying to make it work with JVM 1.5.x, but I receive the following error:

main, handling exception: java.lang.UnsupportedOperationException
main, SEND TLSv1 ALERT: fatal, description = internal_error
main, WRITE: TLSv1 Alert, length = 2
[Raw write]: length = 7


I'm not an jsse or ssl or security expert so I have no idea about how to solve this. I have found other posts describing this problem but without any solution.

The code that gives me the error is:
***********************************
...
<--- HERE
...
***********************************
Any help would be highly apreciated.
Thank you in advance.
Felix

Use www.jaaava.com - A Google CSE for Java !!!
 
Set Cruz
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ... I would set system property javax.net.ssl.debug=all on both server and client would look for the SSL/TLS handshake debugs. I suspect from your posting that TLSv1 (the SSL version) is the issue of contention...
 
Felix Sima
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cruz.

Thanks for your response.
I have set the javax.net.ssl.debug=all. See the log below, please.
The problem is that I don't understand much from it, so I don't see the problem
Do you see anything wrong?

Best regards,
Felix



greenhorn
Member # 164315
posted Today 15.21.00
--------------------------------------------------------------------------------
Hi ... I would set system property javax.net.ssl.debug=all on both server and client would look for the SSL/TLS handshake debugs. I suspect from your posting that TLSv1 (the SSL version) is the issue of contention...
 
Felix Sima
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello again.

I cannot make the debug on the server side. It is an online timestamp service I use.

Best regards,
Felix
 
Set Cruz
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I looked at the handshake, I no longer think the SSL version is the problem. The string "internal_error" bothers me. I noticed you are using IAIK, can you try connecting with Bouncy Castle as provider? This is just a guess as the debug shows no evidence of validation or verification problems.
 
Felix Sima
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cruz.

Thank you for confirming me the SSL (handshake including) is OK.
Changing the provider is not a simple task for me, as I'm not an expert.
I'll search for the answer on IAIK provider'forums as it seems an internal error. I'll try your solution as the last resort.
Any other ideas?

Thank you,
Felix
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic