Hello, tell me why I can't update the certificate? Port 80 and 443 are open. But certbot stubbornly refuses to update the certificate.
nmap -Pn -p 80,443 lkmpikt.org
Starting Nmap 7.80 ( https://nmap.org ) at 2025-01-24 15:12 MSK
Nmap scan report for lkmpikt.org (194.31.153.37)
Host is up (0.00076s latency).
PORT STATE SERVICE
80/tcp open http
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds
sudo certbot --expand -d lkmpikt.org -d md.lkmpikt.org
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Attempting to parse the version 2.11.0 renewal configuration file found at /etc/letsencrypt/renewal/lkmpikt.org.conf with version 0.40.0 of Certbot. This might not work.
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for lkmpikt.org
http-01 challenge for md.lkmpikt.org
Waiting for verification...
Challenge failed for domain lkmpikt.org
Challenge failed for domain md.lkmpikt.org
http-01 challenge for lkmpikt.org
http-01 challenge for md.lkmpikt.org
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: lkmpikt.org
Type: connection
Detail: 194.31.153.37: Fetching
http://lkmpikt.org/.well-known/acme-challenge/E6_BPv0PJbLj_PkrC617f7svh7nl9ezsEYr1a8oJszM:
Timeout during connect (likely firewall problem)
Domain: md.lkmpikt.org
Type: connection
Detail: 194.31.153.37: Fetching
http://md.lkmpikt.org/.well-known/acme-challenge/Y0o_M3zXFhiDasP-pI67lo_tsNbR5oSUIn3-yh_N0oI:
Timeout during connect (likely firewall problem)
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
The port being open means that there is no TCP reset or ICMP unreachable packet received. You still need a service (in that case web server) to listen on the port.
tumbleweed:~ # curl -s -v lkmpikt.org
* Host lkmpikt.org:80 was resolved.
* IPv6: (none)
* IPv4: 194.31.153.37
* Trying 194.31.153.37:80...
* connect to 194.31.153.37 port 80 from 192.168.1.2 port 35034 failed: Connection timed out
* Failed to connect to lkmpikt.org port 80 after 134483 ms: Could not connect to server
* closing connection #0
tumbleweed:~ #
The amazing is nearby.... The certificate was issued after the weekend. And everything worked. I still didn't understand what it was. After all, on Friday, certbot did not want to issue a certificate. But, I came to work today, the site is now working correctly.