• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

SSL error

 
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 !!!
 
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
 
eat bricks! HA! And here's another one! And a tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic