无法为Azure应用程序生成.pfx文件
我们正在尝试更新 Azure Web 应用程序中的 SSL 证书。根据 私有证书要求 我们现在需要对私钥使用三重 DES。以下是我正在执行的步骤:
使用三重 DES 在我的电脑上生成私钥:
openssl genrsa -des3 -out privatekey.key 2048
生成 csr:
openssl req -new -key privatekey.key -out mycsr.csr
在 Godaddy Portal 上重新生成证书密钥。
使用新的 crt 文件生成 pfx:
openssl pkcs12 -export -out cert.pfx -inkey privatekey.key -in mycert.crt
不幸的是,Azure 门户不接受生成的证书。我收到错误消息“密码不正确,或证书无效”。
We are trying to update an SSL certificate in our Azure Web App. Accordingly to the Private Certificate Requirements we need to use triple DES for a private key now. Here's are steps that I'm doing:
Generate private key on my PC using triple DES:
openssl genrsa -des3 -out privatekey.key 2048
Generate csr:
openssl req -new -key privatekey.key -out mycsr.csr
Re-key certificate on Godaddy Portal.
Using new crt-file generate a pfx:
openssl pkcs12 -export -out cert.pfx -inkey privatekey.key -in mycert.crt
Unfortunately, generated certificate is not accepted by Azure portal. I'm getting an error message "The password is incorrect, or the certificate is not valid".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Ubuntu 22.04 使用 yescrypt 哈希算法。尝试生成 pfx
Ubuntu 22.04 uses a yescrypt hashing algorythm. Try to generate the pfx on