deepnpisgah
New Pleskian
- Server operating system version
- Ubuntu 22.04
- Plesk version and microupdate number
- Plesk Obsidian 18.0.57.5
Hello, I am currently setting up a VPS on IONOS. I added several domains without issue configuring SSL. Subsequently PLESK asked for an update when logging into the terminal. I updated.
Product version: Plesk Obsidian 18.0.57.5
OS version: Ubuntu 22.04 x86_64
Build date: 2023/12/18 09:00
Revision: f86c7aa8227ed42a781f46a2fda344694f64a103
After that, when I add a new domain the PLESK generated SSL configuration uses the certificate of the VPS host. I think this is normal as there is no SSL certificate generated for the domain yet. But I don't know why it even generates the SSL sections though because I have not forced SSL on the host yet - but that's not my question...
Subsequently I go through the SSL configuration process and generate a certificate from Let's Encrypt. Everything in the admin gui show normal/good. I check the certificate in the directory
/opt/psa/var/certificates# openssl x509 -in /opt/psa/var/certificates/xxxxxxxxxx -text | egrep 'Issuer|Subject: CN| DNS'
Issuer: C = US, O = Let's Encrypt, CN = R3
Subject: CN = mydomain.com
CA Issuers - URI:http://r3.i.lencr.org/
DNS:mydomain.com, DNS:webmail.mydomain.com, DNS:www.mydomain.com
I finish all the configurations and check SSL from the link SSL Server Test: mydomain.com (Powered by Qualys SSL Labs)
The report shows the system is still using the certificate of the VPS host and not the newly configured domain certificate. Same is confirmed with curl which won't connect to hostname due to mismatch with certificate.
Checking all the .conf files (apache, nginx, webmail) I see that none have been updated since they were originally generated at domain creation.
In order to force an update and correct the problem I have to run plesk sbin httpdmng --reconfigure-domain mydomain.com and then finally the SSL configuration is corrected and the proper certificate is provided in the SSLCertificateFile and SSLCACertificateFile directives.
This seems like a bug to me, shouldn't PLESK perform this function after I have finished the SSL certificate configuration in the admin gui? This is absolutely repeatable.
thanks
Product version: Plesk Obsidian 18.0.57.5
OS version: Ubuntu 22.04 x86_64
Build date: 2023/12/18 09:00
Revision: f86c7aa8227ed42a781f46a2fda344694f64a103
After that, when I add a new domain the PLESK generated SSL configuration uses the certificate of the VPS host. I think this is normal as there is no SSL certificate generated for the domain yet. But I don't know why it even generates the SSL sections though because I have not forced SSL on the host yet - but that's not my question...
Subsequently I go through the SSL configuration process and generate a certificate from Let's Encrypt. Everything in the admin gui show normal/good. I check the certificate in the directory
/opt/psa/var/certificates# openssl x509 -in /opt/psa/var/certificates/xxxxxxxxxx -text | egrep 'Issuer|Subject: CN| DNS'
Issuer: C = US, O = Let's Encrypt, CN = R3
Subject: CN = mydomain.com
CA Issuers - URI:http://r3.i.lencr.org/
DNS:mydomain.com, DNS:webmail.mydomain.com, DNS:www.mydomain.com
I finish all the configurations and check SSL from the link SSL Server Test: mydomain.com (Powered by Qualys SSL Labs)
The report shows the system is still using the certificate of the VPS host and not the newly configured domain certificate. Same is confirmed with curl which won't connect to hostname due to mismatch with certificate.
Checking all the .conf files (apache, nginx, webmail) I see that none have been updated since they were originally generated at domain creation.
In order to force an update and correct the problem I have to run plesk sbin httpdmng --reconfigure-domain mydomain.com and then finally the SSL configuration is corrected and the proper certificate is provided in the SSLCertificateFile and SSLCACertificateFile directives.
This seems like a bug to me, shouldn't PLESK perform this function after I have finished the SSL certificate configuration in the admin gui? This is absolutely repeatable.
thanks