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

查看:492
本文介绍了更改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

我在此处

推荐答案

不会有问题.

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天全站免登陆