为了能快速了解并处理您的问题,请提供以下基础信息:
8.2.0
Ubuntu 22.04.4 LTS (Jammy Jellyfish) x86_64(Py3.7.8)
运行脚本自动续签证书,总是失败,报错如下:
Traceback (most recent call last): File "/www/server/panel/class/acme_v2.py", line 984, in save_cert cert['private_key'], cert['cert'] + cert['root'], cert['root'], domain_name)
File "/www/server/panel/class/acme_v2.py", line 1160, in dump_pkcs12
p12 = OpenSSL.crypto.PKCS12()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/utils.py", line 72, in __getattr__
obj = getattr(self._module, attr)AttributeError: module 'OpenSSL.crypto' has no attribute 'PKCS12'
运行脚本为:/www/server/panel/pyenv/bin/python -u /www/server/panel/class/acme_v2.py --renew=1
|
|