Website Migration Notice: SafePoint is now operated by CyberServal.Learn more →
DiscussionSLA

Getting free certificates takes long time and fails also.

Published 7 months ago

# SafeLine WAF

Published 7 months ago

profile_photo

Rajesh Kumar Mallah

Updated 7 months ago

0

Getting free certificates takes long time and fails also.

the logs clearly says that certificates are successfully issued eg
consider example below:
for domain greyfoxprojects.com


safeline-tengine   | 2025/11/08 12:37:12 [INFO] [www.greyfoxprojects.com] Served key authentication
safeline-detector  | 2025-11-08T07:07:19.187793Z  WARN snserver_engine::detector_serve::t1k: flush T1K packet error: Broken pipe (os error 32)
safeline-tengine   | 2025/11/08 12:37:23 [INFO] [www.greyfoxprojects.com] The server validated our request
safeline-tengine   | 2025/11/08 12:37:23 [INFO] [greyfoxprojects.com, www.greyfoxprojects.com] acme: Validations succeeded; requesting certificates
safeline-fvm       | time="2025-11-08T12:37:30+05:30" level=info msg="Push FSL success" logger=fvm
safeline-tengine   | 2025/11/08 12:37:32 [INFO] [greyfoxprojects.com] Server responded with a certificate.
safeline-pg        | 2025-11-08 12:37:33.492 IST [28] LOG:  checkpoint complete: wrote 1220 buffers (7.4%); 0 WAL file(s) added, 1 removed, 2 recycled; write=207.896 s, sync=0.050 s, total=207.965 s; sync files=186, longest=0.005 s, average=0.001 s; distance=48688 kB, estimate=52957 kB

after the cert is issued we get below in logs:

safeline-mgt       | time=2025-11-08T12:38:00.163+05:30 level=ERROR msg="website not exist try to regenerate nginx config" module=cron source=work/pkg/cron/website.go:21 id=682

on the application the gateway times out

WARN [./sync_websites.pl:235] : ~>              [undef] will create certificate for domain: greyfoxprojects.com



ERROR [./sync_websites.pl:413] : ~>              [undef] api fail: <html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>openresty</center>
</body>
</html>

it looks like the nginx config is created a invalid temporarily.

pls help.