I want to know in which file keytool command logs all the information.

i.e when i execute below command :-

keytool -import -file ca-certificate.cer -alias sample -keystore /root/keystore.jks

I couldn't find any log information.I also want to add log information for any certificate imports.


keytool does not log information; it only writes to the standard output and standard error. Its documentation lists several cases where it will use one or the other, and does not mention logging.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.