Nakomoto Nakomoto - 1 year ago 89
Java Question

Why I can not generate key with keytool and RSA?

So this is what I tried

keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000

But I am getting this..

keytool error: RSA KeyGenerator not available RSA KeyGenerator not available

What should I do ?

p.s using: jdk1.8.0_121

Answer Source

try this

keytool -genkey -alias -keyalg RSA -keysize 2048 -keystore servername.jks
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download