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

Certificate not accepted in JRE 1.4.2

 
vignesh bala
Greenhorn
Posts: 28
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to use a certificate which uses the sha1DSA signing algorithm to contact a web service(I am coding a client). I was using J2SDK_1.4.1_02 before. I added the certificate to keystore and it was working fine. But if I upgraded my JRE to 1.4.2_13 the same code doesn't work,. I got the following exception:


But, I found that this JRE is accepting only certificate with sha1RSA signature algorithm. Please help me if anybody knows why this occurs or is this an issue which is to be addressed in server side.
 
George Stoianov
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't you have to re-import the certificate after the upgrade? Is it using the same keystore?
 
vignesh bala
Greenhorn
Posts: 28
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
yes I have re imported the certificate to the new keystore. Sorry I missed to indicate that in above post. I issue is still occuring. so please help if you have any idea
 
vignesh bala
Greenhorn
Posts: 28
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The issue is solved now. A bit silly though. I installed the certificate from the SSL web site itself(by putting the URL in browser). I got a certificate in a different format from what I am provided. I put this cert in addition to what I already have and the issue was solved. I think they missed to give this cert before. It has nothing to do with the JRE version.Thanks for your suggessions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic