Describe the bug
When setting up SSL with Domain mode during install/update, if a cert already exists in acme.sh, the script may:
- abort domain issuance flow early (System already has certificates for this domain. Cannot issue again.)
- still print a later success line (✓ SSL certificate configured successfully with domain: ...)
- leave panel cert binding incomplete unless user manually sets cert paths.
This creates contradictory output and broken UX for reinstall scenarios.
How to repeat the problem?
For issuing new domain certs:
-
Run install/update interactive flow.
-
Choose SSL option 1 (Domain).
-
Enter the domain.
-
Select n when popup: Would you like to modify --reloadcmd for ACME? (y/n): n
-
Ensure domain cert already exists in acme:
- domain appears in ~/.acme.sh/acme.sh --list
-
Run install/update interactive flow.
-
Choose SSL option 1 (Domain).
-
Enter the same existing domain.
Expected action
If cert already exists, script should reuse it and continue installation/binding flow.
Success message should be printed only when SSL setup truly succeeded. installcert should not be treated as failed solely due to reloadcmd non-zero if cert files were installed.
Received action
SSL cert was not installed to the panel.
3x-ui Version
2.8.11
Xray-core Version
26.2.6
Checklist
Describe the bug
When setting up SSL with Domain mode during install/update, if a cert already exists in acme.sh, the script may:
This creates contradictory output and broken UX for reinstall scenarios.
How to repeat the problem?
For issuing new domain certs:
Run install/update interactive flow.
Choose SSL option 1 (Domain).
Enter the domain.
Select n when popup: Would you like to modify --reloadcmd for ACME? (y/n): n
Ensure domain cert already exists in acme:
Run install/update interactive flow.
Choose SSL option 1 (Domain).
Enter the same existing domain.
Expected action
If cert already exists, script should reuse it and continue installation/binding flow.
Success message should be printed only when SSL setup truly succeeded.
installcertshould not be treated as failed solely due to reloadcmd non-zero if cert files were installed.Received action
SSL cert was not installed to the panel.
3x-ui Version
2.8.11
Xray-core Version
26.2.6
Checklist