简体   繁体   中英

Can not import a certificate in JVM from keytool

I have pasted a certificate file (ie tfs.cer) in the folder

C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64\jre\lib\security

I am using this command to import the certificate

keytool -import -alias tfs -keystore  C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64\jre\lib\security\cacerts  -file tfs.cer

on executing this I am getting this

在此处输入图片说明

Please help me , why this command in not getting executed properly. Thanks

密钥库的path参数中的转义空格

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM