当前位置:论坛首页 > Linux面板 > 求助

【待反馈】续签Let's Encrypt证书

发表在 Linux面板2023-4-3 09:12 [复制链接] 1 3002

本帖最后由 堡塔运维小林 于 2023-4-3 10:06 编辑

计划任务自动续签Let's Encrypt证书失败,手动续签都正常,日志里面显示这个

/usr/lib64/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography import x509

Traceback (most recent call last):
  File "/www/server/panel/class/acme_v2.py", line 1657, in renew_cert
    auth_to = self.get_ssl_used_site(self._config['orders']['save_path'])
  File "/www/server/panel/class/acme_v2.py", line 1462, in get_ssl_used_site
    run_path = panelSite.panelSite().GetRunPath(args)
  File "class/panelSite.py", line 1413, in GetRunPath
    get.id = public.M('sites').where('name=?',(get.siteName,)).getField('id')
  File "class/public.py", line 34, in M
    import db
  File "class/db.py", line 16, in <module>
    import PluginLoader
ImportError: class/PluginLoader.so: undefined symbol: _Py_FalseStruct

使用道具 举报 只看该作者 回复
发表于 2023-4-3 10:06:22 | 显示全部楼层
您好,您面板使用的python版本还是2.7的吗?可以更新一下python为3.7,然后再操作试试
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表