dromara / dromara/domain-admin
之前一键部署成功的证书,现在续期报错域名验证失败
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 389
- PR merge metrics
- No merged PRs in 30d
Description
之前是用docker部署的1.6.69,今天通知即将过期才去看,发现并没有自动续期
更新到1.6.74,问题仍然存在
日志:
2026-01-19 08:54:53 [ERROR] handler.py/error_handler:
request.path: /api/renewIssueCertificateById
2026-01-19 08:54:53 [ERROR] handler.py/error_handler:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/app/domain_admin/service/auth_service.py", line 107, in wrapper
ret = func(*args, **kwargs)
File "/app/domain_admin/api/issue_certificate_api.py", line 479, in renew_issue_certificate_by_id
issue_certificate_service.renew_certificate_row(issue_certificate_row)
File "/app/domain_admin/service/issue_certificate_service.py", line 332, in renew_certificate_row
dns_id=row.challenge_deploy_id
File "/app/domain_admin/service/issue_certificate_service.py", line 175, in verify_certificate
raise AppException("域名验证失败:{}".format(item['domain']))
domain_admin.utils.flask_ext.app_exception.AppException
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at /app/domain_admin/api/issue_certificate_api.py:479 and follow renew_certificate_row and verify_certificate in /app/domain_admin/service/issue_certificate_service.py, especially the DNS challenge id and domain-validation failure. Reproduce renewal for the affected certificate, then verify that the renewal completes without the reported domain validation error and that the certificate is renewed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, flask, python
- Domain
- api, backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100