Ayush
Ayush

Reputation: 284

Can not import a certificate in JVM from keytool

I have pasted a certificate file (i.e. 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

enter image description here

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

Upvotes: 0

Views: 1469

Answers (1)

roophie
roophie

Reputation: 61

Escape whitespaces in path parameter of keystore

Upvotes: 1

Related Questions