OK all is working now,
I tried to look for some clues based on my error and I understood it's a problem that happened because I use Cloudflare from this support issue:
I follow the steps they described according to my website and those are all the steps for those of you who have the same problem:
1 - Update the Lego version and move is to the right location:
curl -s https://api.github.com/repositories/37038121/releases/latest | grep browser_download_url | grep linux_amd64 | cut -d '"' -f 4 | wget -i -
tar xf lego_v2.3.0_linux_amd64.tar.gz
sudo mv lego /opt/bitnami/letsencrypt/lego
2 - Pause Cloudflare: on Cloudflare website in the overview tab at the right bottom of the page under Advanced Actions.
3 - Stop nginx and renew the certificates:
sudo /opt/bitnami/ctlscript.sh stop
sudo /opt/bitnami/letsencrypt/lego --tls --path="/opt/bitnami/letsencrypt" --email="YOUREMAIL@gmail.com" --domains="WEBSITE.com" --domains="www.WEBSITE.com" renew
4 - Verify that your certificates new by the date on the files:
sudo ls -laR /opt/bitnami/letsencrypt/certificates
5 - Start nginx:
sudo /opt/bitnami/ctlscript.sh start
6 - Resume Cloudflare: on Cloudflare website in the overview tab at the right bottom of the page under Advanced Actions.
I hope it helps.
Thanks Michiel for the help