Problems with SSL certificate

Hi, while re-installing Nextcloud, I tried to obtain an ssl certificate from let’s encrypt using the tutorial from digital ocean: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-18-04

This is what I did:

sudo ufw allow 80,443/tcp
sudo nextcloud.enable-https lets-encrypt
sudo nextcloud.enable-https self-signed
sudo ufw allow 80,443/tcp

There was no error message, however, also no ssl certificate issued.

Important information:

  • I did this AFTER having logged into nextcloud already
  • There was already a certificate issued for the same subdomain, however, when I tried a different subdomain, there was no certificate issued either.

Does anyone know why?

I have the same issue