keytool error: java.io.FileNotFoundException: api.sepa.express.crt (The system cannot find the file specified)
I tried various examples which I found in stackoverflow.
keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"
and
keytool -import -alias susan
-file Example.cer -keystore exampleraystore
Tried using cmd as admin. I have placed my certificate file in Desktop. When I'm trying to copy in:
C:\Program Files\Java\jdk1.8.0_60\jre\lib\security
It's not accepting the certificate file.
What would be the preferred way to complete this command?
Try adding the ssl file using command promt. It worked for me