It seems that the certificates were properly generated but they are not linked properly with the server.crt file. Please run these commands
sudo ln -sf /etc/lego/certificates/pesquisa.diversydados.com.key /opt/bitnami/apache2/conf/server.key
sudo ln -sf /etc/lego/certificates/pesquisa.diversydados.com.crt /opt/bitnami/apache2/conf/server.crt
sudo chown root:root /opt/bitnami/apache2/conf/server*
sudo chmod 600 /opt/bitnami/apache2/conf/server*
sudo ls -la /etc/lego/certificates/
sudo ls -la /opt/bitnami/apache2/conf/
sudo /opt/bitnami/ctlscript.sh restart apache
Everything should work now. If that doesn't work, please share the output of the commands above and run the Bitnami support tool. It will gather relevant information for us to debug the issue.
How to Run the Bitnami Support Tool
Please note that you need to paste the code outputted by the tool in your reply.