本帖最后由 Container 于 2025-1-12 18:02 编辑
问题描述:1.SSL证书页面没有续签按钮: 2.其次,首次配置证书也不会生成自动签到任务 3.手动在计划任务添加如下代码后: - /www/server/panel/pyenv/bin/python3 -u /www/server/panel/class/acme_v2.py --renew=1
复制代码
执行出现如下警告信息: - /www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py:15: CryptographyDeprecationWarning: Python 3.7 is no longer supported by the Python core team and support for it is deprecated in cryptography. A future release of cryptography will remove support for Python 3.7.
复制代码
- from cryptography import x509
复制代码- |-没有找到30天内到期的SSL证书,正在尝试去寻找其它可续签证书!
复制代码- /www/server/panel/class/acme_v2.py:1227: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead.
复制代码- s_name = x509.get_extension(i)
复制代码- ★[2025-01-12 17:39:25] Successful
复制代码
Q:这些都是正常的表现吗?希望运维看到了,能依次按提问序号进行答疑解惑。 感谢宝塔团队的付出,谢谢!
|
|