What characters are valid in an ‘alias’ for Java 7’s keytool command?
I found this page – http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/keytool.html – but it doesn’t seem to explain in detail what’s a valid alias.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The source for
keytooldoesn’t validate it at all, it just calls methods ofKeyStore, so it comes down to whatKeyStorewill accept, which appears to be any string, subject to the case-sensitivity caveat in its Javadoc.