Files
mirror-3x-ui/scripts/lib
Sanaei 95f09d6f1e fix(ssl): keep installing when the IP certificate fails, and keep its renewal entry
A failed IP certificate made the installer return early. A fresh install was
left with no service, no result file and its generated login never shown; an
upgrade was left with the panel stopped. Failing issuance is ordinary: IP mode
is the interactive default and it fails whenever port 80 is closed.

Report the failure and carry on over HTTP, as the installer did before. An
invalid XUI_SSL_IPV6 is treated the same way: the certificate is skipped, not
issued for fewer names than were asked for. A failed account registration is
a warning again.

acme.sh records the requested names before it places the order, so a failed
attempt to add IPv6 rewrote the renewal entry of the working IPv4 certificate
and cron then kept renewing it with the names that had just failed. Restore
the entry after a failed order, and remove the one a failed first order
leaves behind.
2026-11-29 17:29:16 +03:30
..