keytool 在单个文件中导入多个证书
How to import multiple certificates in a single file with keytool [to cert store]?
keytool -importcert only imports the first one.
解决方案If you want to include the CA certificates you should add the -trustcacerts
option.
If you have multiple certificate chains in one PEM file you will have to split the file.
相关文章