1)Navigate to /opt/bitnami/apache2/conf/extra
2) Edit file httpd-ssl-conf
sudo nano httpd-ssl.conf
3)look for the line that reads “ServerName www.example.com:443”
change it to
ServerName localhost
4)restart server
/opt/bitnami/ctlscript.sh restart
References:
https://kinsta.com/knowledgebase/xampp-server-certificate-does-not-include-an-id-which-matches-the-server-name/