Skip to content

[Bug] SSL certificate automatic renewal failed #12200

@404-502

Description

@404-502

Contact Information

No response

1Panel Version

v2.1.4

Problem Description

The system logs show that SSL certificate automatic renewal is being performed daily, but it fails every time because the obtained EAB credentials are empty.

[2026-03-17 00:00:00] [INFO] Update the SSL certificate for the [xxxxxxxxxxxxxxxx] domain  
[2026-03-17 00:00:06] [ERROR] Failed to update the SSL certificate for the [xxxxxxxxxxxxxxxxx] domain , err:get zero ssl eab credentials failed 
Image

However, when I manually apply for a certificate through the website's certificate management, with everything else unchanged, the application is successful. Only the automatic renewal is not working properly.

2026/03/17 15:07:56 开始申请证书,域名 [xxxxxxxxxxxxxxx],方式 [DNS 自动]DNS 账号 [DNS] 厂商 [AliYun]
2026/03/17 15:07:56 [INFO] [xxxxxxxxxxxxxxx] acme: Obtaining bundled SAN certificate
2026/03/17 15:07:57 [INFO] [xxxxxxxxxxxxxxx] AuthURL: https://acme.zerossl.com/v2/DV90/authz/xxxxxxxxxxxxxxx
2026/03/17 15:07:57 [INFO] [xxxxxxxxxxxxxxx] acme: Could not find solver for: http-01
2026/03/17 15:07:57 [INFO] [xxxxxxxxxxxxxxx] acme: use dns-01 solver
2026/03/17 15:07:57 [INFO] [xxxxxxxxxxxxxxx] acme: Preparing to solve DNS-01
2026/03/17 15:07:59 [INFO] [xxxxxxxxxxxxxxx] acme: Trying to solve DNS-01
2026/03/17 15:07:59 [INFO] [xxxxxxxxxxxxxxx] acme: Checking DNS record propagation. [nameservers=223.5.5.5:53]
2026/03/17 15:08:09 [INFO] Wait for propagation [timeout: 30m0s, interval: 10s]
2026/03/17 15:08:23 [INFO] [xxxxxxxxxxxxxxx] The server validated our request
2026/03/17 15:08:23 [INFO] [xxxxxxxxxxxxxxx] acme: Cleaning DNS-01 challenge
2026/03/17 15:08:24 [INFO] [xxxxxxxxxxxxxxx] acme: Validations succeeded; requesting certificates
2026/03/17 15:08:25 [INFO] Wait for certificate [timeout: 1m0s, interval: 1s]
2026/03/17 15:08:29 [INFO] [xxxxxxxxxxxxxxx] Server responded with a certificate.
2026/03/17 15:08:29 申请 [xxxxxxxxxxxxxxx] 证书成功
Image

Steps to Reproduce

The problem can be reproduced when the certificate expires and automatic renewal is implemented.

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions