更改 p12 文件的密码 [英] Changing password on p12 file

查看:38
本文介绍了更改 p12 文件的密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从带有推送证书的客户端转发了一个 p12 文件.

I was forwarded a p12 file from a client with the push cert.

我可以更改这个 p12 文件的密码而不会有任何后果吗?如果是,我可以使用这样的东西:

Can I change the password of this p12 file without any ramifications and if yes, can I use something like this:

openssl pkcs12 -in Certificates.p12 -out temp.pem -passin pass: -passout        
pass:temppassword
openssl pkcs12 -export -in temp.pem -out Certificates-final.p12 -passin     
pass:temppassword -passout pass:newpa­ssword
rm -rf temp.pem

我在这个网站上找到了这个这里

I found this on this website here

推荐答案

不会有问题.

PFX 是一个加密容器,更改容器密码不会影响容器内的证书.

PFX is an encrypted container, changing the password of the container will have no effect on the certificates inside the container.

这篇关于更改 p12 文件的密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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