You might have played with the keystore and java security objects many times.Some of these errors happen when you install it first time # Java's default cacerts password is "changeit", unless you're on a Mac, where it's "changeme". # Better to execute it as root, hence sudo su sudo su - -c /usr/java6_64/bin/keytool -import -trustcacerts -file /tmp/ServerCertficate.crt -keystore /usr/java6_64/jre/lib/security/cacerts -alias diaryfolio_Certificate #No need of any password while viewing (Just press enter) /usr/java6_64/bin/keytool -list -v -keystore /usr/java6_64/jre/lib/security/cacerts >/tmp/java6.abc Common Errors 1. Keytool Error with Java lang Exception keytool error: java.lang.Exception: Input not an X.509 certificate This may be caused due to - Not specifying an alias name correctly? - Space or incorrect blanks - Check in the certificate (.crt file), if there are any headers or footers before —–BEGIN CERTIFICATE—– or a...
If you love Technology..