Describe the bug
设置隧道(Tunnel)的证书字段(certDomain/certPem/certKeyPem)后,Agent 生成的 gost 配置不包含证书,TLS listener 仍使用 gost 自签证书(CN=gost.run),而不是配置的 Let's Encrypt 证书。
Environment
- Panel: v2.3.272 (Docker)
- Agent: v2.3.272 (Go agent)
- Tunnel: mode=tls, relayMode=chain, forwardxVersion=v1
Steps to reproduce
- Set tunnel certDomain/certPem/certKeyPem (via API or DB)
- Restart panel, confirm certDomain saved (tunnels.list returns cert fields)
- Agent syncs, check /etc/forwardx/runtime/tunnel-gost.json
- TLS listener only has "type": "tls", no certFile/keyFile/tls sub-object
- openssl connect to tunnel port shows self-signed CN=gost.run
Expected behavior
Agent should include the configured certificate in gost TLS listener (gost v3 format: tls:{certFile,keyFile} or embedded cert)
Workaround
Manually editing tunnel-gost.json to gost v3 format (listener.tls.certFile/keyFile) makes the cert work (Verification OK), but agent reconciliation overwrites it every 30s.
Describe the bug
设置隧道(Tunnel)的证书字段(certDomain/certPem/certKeyPem)后,Agent 生成的 gost 配置不包含证书,TLS listener 仍使用 gost 自签证书(CN=gost.run),而不是配置的 Let's Encrypt 证书。
Environment
Steps to reproduce
Expected behavior
Agent should include the configured certificate in gost TLS listener (gost v3 format: tls:{certFile,keyFile} or embedded cert)
Workaround
Manually editing tunnel-gost.json to gost v3 format (listener.tls.certFile/keyFile) makes the cert work (Verification OK), but agent reconciliation overwrites it every 30s.