keytool在单个文件中导入多个证书 [英] keytool importing multiple certificates in single file

查看:314
本文介绍了keytool在单个文件中导入多个证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用keytool [到cert store]在单个文件中导入多个证书?

How to import multiple certificates in a single file with keytool [to cert store]?

keytool -importcert只导入第一个。

keytool -importcert only imports the first one.

推荐答案

如果要包含CA证书,则应添加 -trustcacerts 选项。

If you want to include the CA certificates you should add the -trustcacerts option.

如果您在一个PEM文件中有多个证书链,则必须拆分文件

If you have multiple certificate chains in one PEM file you will have to split the file.

这篇关于keytool在单个文件中导入多个证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆