I installed Nextcloud using snap which works fine but I cannot get the LetsEncrypt script to work. It keeps saying “Error getting validation data.” I believe it is not getting access through port 443.
nmap localhost output:
Not shown: 998 closed ports
PORT STATE SERVICE
80/tcp open http
631/tcp open ipp
iptables -nvL output:
Chain INPUT (policy ACCEPT 3471 packets, 251K bytes)
pkts bytes target prot opt in out source destination
5294 689K ACCEPT all – * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT tcp – eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8622
0 0 ACCEPT tcp – eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 ACCEPT tcp – eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 8220 packets, 13M bytes)
pkts bytes target prot opt in out source destination
Any ideas? I can access the server using my domain name through 80, but not 443.
Thanks.