zengling 发表于 2024-6-12 09:45:13

【已完成】续签SSL证书失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.2.0
系统版本:NeoKylin Advanced Server V7 x86_64(Py3.7.8)
问题描述:续签ssl证书失败
相关截图(日志、错误):

王众 发表于 2024-6-17 15:17:20

终端依次运行如下命令:
btpip install pyOpenSSL==22.1.0
btpip install cffi==1.14
然后重启宝塔服务 bt 1

自动续签就不会再报错了

运维技术阿闯 发表于 2024-6-12 11:45:11

您好,可能是你的环境中安装的 pyOpenSSL 库版本不支持 PKCS12 或者 pyOpenSSL 没有正确安装

btpip install --upgrade pyOpenSSL

其次您可以看您的操作系统,可能有些不兼容的存在

zengling 发表于 2024-6-13 16:36:59

运维技术阿闯 发表于 2024-6-12 11:45
您好,可能是你的环境中安装的 pyOpenSSL 库版本不支持 PKCS12 或者 pyOpenSSL 没有正确安装

btpip instal ...

# btpip install --upgrade pyOpenSSL
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: pyOpenSSL in /www/server/panel/pyenv/lib/python3.7/site-packages (24.1.0)
Requirement already satisfied: cryptography<43,>=41.0.5 in /www/server/panel/pyenv/lib/python3.7/site-packages (from pyOpenSSL) (42.0.5)
Requirement already satisfied: cffi>=1.12 in /www/server/panel/pyenv/lib/python3.7/site-packages (from cryptography<43,>=41.0.5->pyOpenSSL) (1.12.3)
Requirement already satisfied: pycparser in /www/server/panel/pyenv/lib/python3.7/site-packages (from cffi>=1.12->cryptography<43,>=41.0.5->pyOpenSSL) (2.19)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

运维技术阿闯 发表于 2024-6-13 18:27:31

zengling 发表于 2024-6-13 16:36
# btpip install --upgrade pyOpenSSL
Looking in indexes: https://mirrors.aliyun.com/pypi ...

您好,您这边尝试手动续签一下看看是否成功到站点ssl关闭ssl然后重新申请

zengling 发表于 2024-6-17 15:59:21

王众 发表于 2024-6-17 15:17
终端依次运行如下命令:
btpip install pyOpenSSL==22.1.0
btpip install cffi==1.14


好的,谢谢

运维技术阿闯 发表于 2024-6-17 17:10:56

zengling 发表于 2024-6-17 15:59
好的,谢谢

您好,问题解决了吗

zengling 发表于 2024-6-18 11:09:19

运维技术阿闯 发表于 2024-6-17 17:10
您好,问题解决了吗

已经解决了,谢谢

运维技术阿闯 发表于 2024-6-18 12:20:02

zengling 发表于 2024-6-18 11:09
已经解决了,谢谢

不客气,后续有问题可以在开新帖呢吗,这边就闭住贴了,祝您生活愉快
页: [1]
查看完整版本: 【已完成】续签SSL证书失败