I have installed a new dedicated web server, and installed phpmyadmin, and it works. I have follow a tutorial that helps to secure phpmyadmin i.e. call phpmyadmin thru a subdomain like mysql.mydomain.tld + force it to HTTPS. It was working at the beginning. But now, https://mysql.mydomain.tld goes to a FORBIDDEN access message. While http still works. Can you help? Thanks
<VirtualHost *:80>
# Configuration de l'addresse
ServerAdmin bruno@mydomain.tld
ServerName mysql.mydomain.tld
DocumentRoot /usr/share/phpmyadmin/
# Redirection vers HTTPS
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R=301]
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
# Configuration de l'addresse
ServerAdmin bruno@mydomain.tld
ServerName mysql.mydomain.tld
DocumentRoot /usr/share/phpmyadmin/
# Personnalisation des logs
TransferLog /var/log/apache2/phpmyadmin-access.log
ErrorLog /var/log/apache2/phpmyadmin-error.log
# Utilisation de la clé et du certificat
SSLEngine on
SSLCertificateFile /etc/apache2/certificate/server.crt
SSLCertificateKeyFile /etc/apache2/certificate/server.key
SSLProxyEngine on
</VirtualHost>
</IfModule>
phpmyadmin-error.log
[Mon May 28 18:31:44.642664 2018] [ssl:warn] [pid 6496] AH01909: mysql.mydomaintld:443:0 server certificate does NOT include an ID which matches the server name
phpmyadmin-access.log is empty