Topic: Certs don't renew after IPv6 enabled
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? No
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I'm unable to renew letsencrypt certificates after enabling IPv6 in nginx.
sudo certbot certonly --webroot --dry-run -w /var/www/html -d mail.domain1.eu -d mail.domain2.pl
results in
==
Failed authorization procedure. mail.domain1.eu (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://mail.domain1.eu/.well-known/acm … nge/xxx... : Timeout during connect (likely firewall problem)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: mail.domain1.eu
Type: connection
Detail: Fetching
https://mail.domain1.eu/.well-known/acm … nge/xxx... :
Timeout during connect (likely firewall problem)
==
:~$ sudo lsof -i -P -n | grep LISTEN
...
nginx 21381 root 8u IPv4 374362 0t0 TCP *:443 (LISTEN)
nginx 21381 root 9u IPv6 374363 0t0 TCP *:443 (LISTEN)
nginx 21381 root 10u IPv6 374364 0t0 TCP *:80 (LISTEN)
nginx 21381 root 11u IPv4 374365 0t0 TCP *:80 (LISTEN)
nginx 21382 www-data 8u IPv4 374362 0t0 TCP *:443 (LISTEN)
nginx 21382 www-data 9u IPv6 374363 0t0 TCP *:443 (LISTEN)
nginx 21382 www-data 10u IPv6 374364 0t0 TCP *:80 (LISTEN)
nginx 21382 www-data 11u IPv4 374365 0t0 TCP *:80 (LISTEN)
All in all I don't know what to do. Please advise.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.