gpt4 book ai didi

ssl - key 似乎格式不正确,或受密码保护

转载 作者:太空宇宙 更新时间:2023-11-03 13:54:40 24 4
gpt4 key购买 nike

我在创建证书时没有设置和密码。然后我收到此错误消息,然后尝试在 heroku 上安装此证书。

$ heroku certs:add server.crt server.key
Resolving trust chain... failed
> Key appears to be malformed, or is passphrase-protected.

文件夹结果如下:

$ ls -l
total 24
-rw-r--r-- 1 dkaigorodov staff 2702 Apr 13 18:01 bundle.pem
-rw-r--r-- 1 dkaigorodov staff 1855 Apr 13 18:06 server.crt
-rw-r--r-- 1 dkaigorodov staff 1681 Apr 13 18:06 server.key

我从http://dnsimple.com买了证书

最佳答案

尝试在上传中包含中间证书:

heroku certs:add server.crt bundle.pem server.key

希望这对您有所帮助!

亚历克斯

关于ssl - key 似乎格式不正确,或受密码保护,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23049121/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com