[GH-ISSUE #4467] IP certificate issuance with IPv6 fails because acme.sh standalone mode does not include --listen-v6 #3050

Closed
opened 2026-10-31 20:29:44 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @man2018 on GitHub (May 19, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4467

Description

When using 3x-ui to issue a Let's Encrypt IP certificate for both IPv4 and IPv6, the IPv4 HTTP-01 validation succeeds, but the IPv6 validation fails with Connection refused.

After investigation, the issue appears to be that the IP certificate issuance command in the 3x-ui install/update script uses acme.sh standalone mode, but does not include the --listen-v6 option.

As a result, the temporary acme.sh standalone HTTP server listens on IPv4 only, and Let's Encrypt cannot reach the server through IPv6 on port 80.


Environment

  • 3x-ui version: 3.0.2
  • OS: Ubuntu
  • Xray version: 26.4.25
  • acme.sh: latest version after upgrade
  • IPv4: 45.77.15.123
  • IPv6: 2001:19f0:7002:4f4:5400:5ff:fe3a:f549

Error Log

During IP certificate issuance, IPv4 verification succeeds:

Verifying: 45.77.15.123
Success

### Describe the solution you'd like

### Description

When using 3x-ui to issue a Let's Encrypt IP certificate for both IPv4 and IPv6, the IPv4 HTTP-01 validation succeeds, but the IPv6 validation fails with `Connection refused`.

After investigation, the issue appears to be that the IP certificate issuance command in the 3x-ui install/update script uses acme.sh standalone mode, but does not include the `--listen-v6` option.

As a result, the temporary acme.sh standalone HTTP server listens on IPv4 only, and Let's Encrypt cannot reach the server through IPv6 on port 80.

---

### Environment

- 3x-ui version: 3.0.2
- OS: Ubuntu
- Xray version: 26.4.25
- acme.sh: latest version after upgrade
- IPv4: 45.77.15.123
- IPv6: 2001:19f0:7002:4f4:5400:5ff:fe3a:f549

---

### Error Log

During IP certificate issuance, IPv4 verification succeeds:

```text
Verifying: 45.77.15.123
Success

### Describe alternatives you've considered

### Description

When using 3x-ui to issue a Let's Encrypt IP certificate for both IPv4 and IPv6, the IPv4 HTTP-01 validation succeeds, but the IPv6 validation fails with `Connection refused`.

After investigation, the issue appears to be that the IP certificate issuance command in the 3x-ui install/update script uses acme.sh standalone mode, but does not include the `--listen-v6` option.

As a result, the temporary acme.sh standalone HTTP server listens on IPv4 only, and Let's Encrypt cannot reach the server through IPv6 on port 80.

---

### Environment

- 3x-ui version: 3.0.2
- OS: Ubuntu
- Xray version: 26.4.25
- acme.sh: latest version after upgrade
- IPv4: 45.77.15.123
- IPv6: 2001:19f0:7002:4f4:5400:5ff:fe3a:f549

---

### Error Log

During IP certificate issuance, IPv4 verification succeeds:

```text
Verifying: 45.77.15.123
Success

### Checklist

- [x] This feature report is written entirely in English.
Originally created by @man2018 on GitHub (May 19, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4467 ### Is your feature request related to a problem? ### Description When using 3x-ui to issue a Let's Encrypt IP certificate for both IPv4 and IPv6, the IPv4 HTTP-01 validation succeeds, but the IPv6 validation fails with `Connection refused`. After investigation, the issue appears to be that the IP certificate issuance command in the 3x-ui install/update script uses acme.sh standalone mode, but does not include the `--listen-v6` option. As a result, the temporary acme.sh standalone HTTP server listens on IPv4 only, and Let's Encrypt cannot reach the server through IPv6 on port 80. --- ### Environment - 3x-ui version: 3.0.2 - OS: Ubuntu - Xray version: 26.4.25 - acme.sh: latest version after upgrade - IPv4: 45.77.15.123 - IPv6: 2001:19f0:7002:4f4:5400:5ff:fe3a:f549 --- ### Error Log During IP certificate issuance, IPv4 verification succeeds: ```text Verifying: 45.77.15.123 Success ### Describe the solution you'd like ### Description When using 3x-ui to issue a Let's Encrypt IP certificate for both IPv4 and IPv6, the IPv4 HTTP-01 validation succeeds, but the IPv6 validation fails with `Connection refused`. After investigation, the issue appears to be that the IP certificate issuance command in the 3x-ui install/update script uses acme.sh standalone mode, but does not include the `--listen-v6` option. As a result, the temporary acme.sh standalone HTTP server listens on IPv4 only, and Let's Encrypt cannot reach the server through IPv6 on port 80. --- ### Environment - 3x-ui version: 3.0.2 - OS: Ubuntu - Xray version: 26.4.25 - acme.sh: latest version after upgrade - IPv4: 45.77.15.123 - IPv6: 2001:19f0:7002:4f4:5400:5ff:fe3a:f549 --- ### Error Log During IP certificate issuance, IPv4 verification succeeds: ```text Verifying: 45.77.15.123 Success ### Describe alternatives you've considered ### Description When using 3x-ui to issue a Let's Encrypt IP certificate for both IPv4 and IPv6, the IPv4 HTTP-01 validation succeeds, but the IPv6 validation fails with `Connection refused`. After investigation, the issue appears to be that the IP certificate issuance command in the 3x-ui install/update script uses acme.sh standalone mode, but does not include the `--listen-v6` option. As a result, the temporary acme.sh standalone HTTP server listens on IPv4 only, and Let's Encrypt cannot reach the server through IPv6 on port 80. --- ### Environment - 3x-ui version: 3.0.2 - OS: Ubuntu - Xray version: 26.4.25 - acme.sh: latest version after upgrade - IPv4: 45.77.15.123 - IPv6: 2001:19f0:7002:4f4:5400:5ff:fe3a:f549 --- ### Error Log During IP certificate issuance, IPv4 verification succeeds: ```text Verifying: 45.77.15.123 Success ### Checklist - [x] This feature report is written entirely in English.
bsakaguchi 2026-10-31 20:29:44 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3050
No description provided.