Ever get this?
[INFO] [keytool:genkey] [WARNING] Enter keystore password: Keystore password is too short - must be at least 6 characters
You probably have something like this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<configuration>
<keystore>${basedir}/target/keystore</keystore>
<dname>cn=Gene De Lisa, ou=Devel, L=Philadelphia, ST=PA, o=Rockhopper, c=US</dname>
<alias>mykey</alias>
<keypass>validpassword</keypass>
<storepass>validpassword</storepass>
<storetype>pkcs12</storetype>
<verbose>true</verbose>
</configuration>
</plugin>
See that dname element? If you reformatted your code in Eclipse perhaps it was split over two lines. It has to be on a single line. So, you problem has nothing to do with the password!
















Development notes by Gene De Lisa on topics relating to
Java and various open source projects such as
the Spring Framework, Hibernate and others.
Sorry, no comments yet.