• 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

Plesk uses old SSL certificate

4

4drob

Guest
We've ran into this problem on a number of servers. Often when renewing or adding a new SSL cert, Plesk insists on using the old one even though all conf/include files say otherwise. We finally found a fix, which involves removing SSL completely from all domains and re-adding it. I didn't come across this in any SWSoft documentation or knowledge base (atleast with a few searches), so I wanted to share it just in case others were having a similar problem.

So if you assign the new cert by IP or domain yet when browsing to the domain it still says its expired, try running:

ls /var/www/vhosts/ | xargs -n 1 -iREP /usr/local/psa/bin/domain.sh -u REP -ssl false
ls /var/www/vhosts/ | xargs -n 1 -iREP /usr/local/psa/bin/domain.sh -u REP -ssl true -same_ssl true
/usr/local/psa/admin/sbin/websrvmng -a
 
Back
Top