为了能快速了解并处理您的问题,请提供以下基础信息:
8.3.0
centos7
证书保存应用到网站时报错
出错了,面板运行时发生错误!TypeError: sign() takes 3 positional arguments but 4 were given
REQUEST_DATE: 2024-12-24 21:42:06
VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 9.3.0
REMOTE_ADDR: 111.37.241.69
REQUEST_URI: POST /site?action=SetSSL
REQUEST_FORM: {'type': '1', 'siteName': 'updatemgr.gusui.site', 'key': '******', 'csr': '******'}
USER_AGENT: Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Mobile/15E148 Safari/604.1
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2536, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2483, in run
result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelSite.py", line 1622, in SetSSL
check_flag, check_msg = ssl_info.verify_certificate_and_key_match(get.key, get.csr)
File "/www/server/panel/class/ssl_info.py", line 262, in verify_certificate_and_key_match
hashes.SHA256()
TypeError: sign() takes 3 positional arguments but 4 were given
|
|