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.
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.