Quantcast
Channel: Java mon amour
Viewing all articles
Browse latest Browse all 1121

keytool error :java.io.IoException:Incorrect AVA format

$
0
0
I run this command:


keytool -genkeypair -alias alias -keyalg RSA -keysize 1024 -dname dn -keystore keystore


and this fails with "keytool error :java.io.IoException:Incorrect AVA format"

Just remove -dname:

keytool -genkeypair -alias alias -keyalg RSA -keysize 1024 -keystore keystore


and answer all questions directly, and you will be fine.


Viewing all articles
Browse latest Browse all 1121

Trending Articles