This is driving me crazy, hopefully someone can help
I need to move an application tha uses cacerts from Windows to Linux, so I thought that a simple export / import of the required certs would do the trick. No such luck.
Here is what I have so far.
On my Windows machine I can list the required certificate on the cacerts file as follows:
keytool -list -keystore cacerts
I can export the particular one I need with
keytool -export -file some.cer -alias some -keystore cacerts
I can view the newly created cert on my file some.cer with:
keytool -printcer -file some.cer
Now, when I go to import it onto a new cacerts file on Linux (that has some other keys)
keytool -import -file some.cer -alias some.cer -keystore cacerts
I get the following error message
keytool error: java.security.NoSuchAlgorithmException: MD5WITHRSA Signature not available
Copying the cacerts file over the old one in Linux doesn't seem to work.