After the output, I understood that the problem is the certificate.
I tried to run the command
but i faced an error
/bin/sh: 1: /opt/bitnami/apps/wordpress/bnconfig: Permission denied
So i used this command
sudo chmod 777 -R /opt/bitnami/apps/wordpress/bnconfig
and I run the bncert-tool command and the website worked.
My question is it safe to leave it with this permission or I should change it now?
Thanks for your help