I'm trying to set up a SSL certificate for my Nextcloud server with LetsEncrypt, but when I run:
$ sudo certbot certonly --webroot -w /var/www/nextcloud --agree-tos \
--no-eff-email --email [email protected] -d cloud.domain.com --rsa-key-size 4096
(based on this tutorial: https://howto.wared.fr/ubuntu-installation-nextcloud-nginx/)
I got this error message:
Failed authorization procedure. cloud.domain.com (http-01): urn:acme:error:connection ::
The server could not connect to the client to verify the domain ::
Fetching http://cloud.domain.com/...: Timeout during connect (likely firewall problem)
(I have already opened firewall ports 80 & 443)
As my router only uses IPv6, I could not set up the port forwarding to point to my server (ubuntu 18.04), is that the most potential problem? If yes, do I have to contact my ISP to re-enable IPv4?
If no, what could it be?