英文:
How to create a PKCS12 file with intermediate certificates?
问题
我成功地使用以下命令创建了一个PKCS12文件:
openssl pkcs12 -export -in foo.crt -inkey bar.key -out out.p12
然而,SSLChecker(https://decoder.link/sslchecker)显示证书链中没有包含任何中间证书。我从SSL提供商那里获得了一个ca-bundle文件。是否有办法将此文件转换为PKCS12格式?
我需要将其用于一个使用SSL保护的Spring Boot服务器。那么可能也可以使用JKS文件格式?
提前致谢!
英文:
I successfully managed to create a PKCS12 file with the following command:
openssl pkcs12 -export -in foo.crt -inkey bar.key -out out.p12
However SSLChecker (https://decoder.link/sslchecker) shows that the chain doesn't contain any intermediate certificates. I got an ca-bundle file from my SSL provider. Is there anyway to convert this file to the PKCS12 format?
I need this for a ssl secured spring boot server. So maybe a JKS file would work aswell?
Thanks in advance!
专注分享java语言的经验与见解,让所有开发者获益!
评论