I've decided I'd probably like to access Nextcloud outside of my home so decided to setup SSL following @Joulinar's very helpful guidelines on another post!
I've set up a domain via no-ip, installed this onto the Pi and checked the IP updates successfuly.
I've then logged into my router (ZTE) and configured port forwarding for 80 and 443 with my LAN IP.
When I run dietpi-letsencrypt and initiate I get 'Certbot failed with error code (1)'
Code: Select all
Domain: XXXXXXXX.hopto.org
Type: connection
Detail: Fetching
http://XXXXXXXXX.hopto.org/.well-known/acme-challenge/PsZVYR5deG1BHIYF4Eaq3eCe04urXXXvweJ7ZCDGBzlEuN8:
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.
[FAILED] Certbot failed with error code (1), please check its terminal output. Aborting...
Thanks in advance!