I am trying run a command in Java,which runs in console of Linux properly.
But while I am trying to run in Java then it flushes errors.
What might be the possible reasons?
The command follows..
keytool -genkey -keyalg RSA -dname "CN=DEBASISBHAT TACHARYYA, OU=MS, O=IIT, C=IN" -validity 24 -alias debasis -keypass password -keystore /DATA/keystore/userkey/E84009.jks -storepass password
And the error ..what i m getting is ...
keytool error: java.lang.Runti meException: Usage error, OU=MS, is not a legal command
Please help me.
it's urgent!
But while I am trying to run in Java then it flushes errors.
What might be the possible reasons?
The command follows..
keytool -genkey -keyalg RSA -dname "CN=DEBASISBHAT TACHARYYA, OU=MS, O=IIT, C=IN" -validity 24 -alias debasis -keypass password -keystore /DATA/keystore/userkey/E84009.jks -storepass password
And the error ..what i m getting is ...
keytool error: java.lang.Runti meException: Usage error, OU=MS, is not a legal command
Please help me.
it's urgent!
Comment