• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved SSL/TLS domain use host certificate

Ankebut

Regular Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Version 18.0.54 Update #1,
Hello,

Without changing any settings, all domains stopped working when i use domain sample doitauto.de or industriemeister-forum.de I always receive the error message 'NET::ERR_CERT_COMMON_NAME_INVALID.' All domains are using the SSL certificate from the server host. I have now reinstalled Letsencrypt for all domains, but they still use the wrong certificate.
Please help for that i have nor more idea.

Bildschirmfoto 2023-08-01 um 18.13.42.png


Bildschirmfoto 2023-08-01 um 18.08.24.png
 
Which certificate is selected on the "Hosting Settings" dialog from the SSL certificate drop down?
 
To find out details, please do this:

1) Look into /var/www/vhosts/system/doitauto.de/conf/httpd.conf and find the line "SSLCertificateFile /usr/local/psa/var/certificates/<some filename here>", e.g. SSLCertificateFile /usr/local/psa/var/certificates/certIEA7tc or similar.
# grep "SSLCertificateFile /usr/local/psa/var/certificates" /var/www/vhosts/system/doitauto.de/conf/httpd.conf

2) Check the contents of that certificate by running
# openssl x509 -in /usr/local/psa/var/certificates/<filename from step (1) here> -text
for example
# openssl x509 -in /usr/local/psa/var/certificates/certIEA7tc -text
for the line "Subject CN=...".

What does that line say? Does it say "Subject CN=doitauto.de" or does it say anything different?
 
it say:
Not Before: Jul 31 20:07:07 2023 GMT

Not After : Oct 29 20:07:06 2023 GMT

Subject: CN = doitauto.de

Subject Public Key Info:
 
Back
Top