Keytool error: java.security.NoSuchAlgorithmException: RSA KeyGenerator not available

keytool -genseckey -v -keystore my-release.keystore -alias my-release -keyalg RSA -keysize 2048 -validity 10000

But I am getting

keytool error: java.security.NoSuchAlgorithmException: RSA KeyGenerator not available

Did you google for that error message and follow all the suggestions found there?

Yes, I did and found no answer for that problem. But I menage to solve it using genkey instead of genseckey.

1 Like