Im trying to enter mi site by ssl https conection but I cant here is the error I think:
[pid 8729] AH01909: www.archivomental.com:443:0 server certificate does NOT include an ID which matches the se>[Sun Jun 11 16:52:16.359534 2023] [mpm_prefork:notice] [pid 8729] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
My domain is: www.archivomental.com
I ran this command: certonly --webroot -w /var/www/archivomental -d archivomental.com -d www.archivomental.com
It produced this output: seems to be ok
My web server is (include version): apache 2.4
The operating system my web server runs on is (include version): ubuntu 20.04 lts
My hosting provider, if applicable, is: hostinger
I can login to a root shell on my machine (yes or no, or I don't know): by default no but I enter with mi user then y change to sudo su
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no y just use the shell
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.21.0
My virtualHost set up, with this one I can enter with http on the web but I cant by https
<VirtualHost *:80>
ServerName www.archivomental.com
ServerAlias archivomental.com
DocumentRoot /var/www/archivomental
RewriteEngine On
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite HIGH:!aNULL:!MD5
RewriteCond %{HTTPS} off
RewriteRule "^/(.*)_SSL$" "https://%{SERVER_NAME}/$1" [R,L]
</VirtualHost>
<VirtualHost *:443>
ServerName www.archivomental.com
ServerAlias archivomental.com
DocumentRoot /var/www/archivomental
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/archivomental.com-0002/cert1.pem
SSLCertificateKeyFile /etc/letsencrypt/live/archivomental.com-0002/privkey1.pem
SSLCertificateChainFile /etc/letsencrypt/live/archivomental.com-0002/chain1.pem
</VirtualHost>
with this set up I just cant enter:
<VirtualHost *:443>
ServerName www.archivomental.com
ServerAlias archivomental.com
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/archivomental.com/cert3.pem
SSLCertificateKeyFile /etc/letsencrypt/live/archivomental.com/privkey3.pem
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>