I was working on the dev region, I have to format my system. I installed the jdk 1.5 version and I need to import the cacerts file using keytool.. After doing all this, I started getting this exception. Can anyone advise..
Champ, can you please post the code that generates the algorithm?
Also, it looks like there is something wrong with this Prime size... according to the exception, you have to make sure it is multiple of 64 and it is within 512 and 1024.
When I meant I did noty write the code, the team did not have anything specific for this. It was working good and suddenly after I formatted teh system, I am getting this error
The fact that your cert's filename has a ".txt" extension is strange...if it's letting you import a text file, it might be corrupting cacerts. Always make a backup of cacerts before modifying it. That way, you won't have to reinstall the JDK if something goes wrong.
Also, one minor note: The "-import" parameter is deprecated in more recent versions of the JDK. You should use "-importcert" instead (but "-import" still works).
I got the new certnew.cer file and I imported and yet again the same result. Can it be because of something else as this error pops up from the database connectivity.
Since it's throwing this exception when you are connecting to the database, maybe the JDBC driver is out of date or not compatible with the version of the database.