Keytool错误java.io.FileNotFoundException(系统找不到指定的文件)

问题描述 投票:2回答:2

keytool错误:java.io.FileNotFoundException:api.sepa.express.crt(系统找不到指定的文件)

我尝试了在stackoverflow中找到的各种示例。

keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"

    keytool -import -alias susan
   -file Example.cer -keystore exampleraystore

尝试使用cmd作为管理员。我已将证书文件放在桌面中。当我试图复制时

C:\ Program Files \ Java \ jdk1.8.0_60 \ jre \ lib \ security

它不接受证书文件。

完成此命令的首选方法是什么?

java certificate ssl-certificate keytool
2个回答
1
投票

尝试使用命令提示符添加ssl文件。它对我有用


-1
投票

只需在c:Drive中创建文件,例如:在d:Drive中创建

© www.soinside.com 2019 - 2024. All rights reserved.