• 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 Server not serving renewed letsencrypt

Stuart De Usoz

New Pleskian
Plesk Onyx Linux

One of my domains suddenly has browsers showing expired certificate. Yet LetsEncrypt seems to have renewed. So I manually renewed again, twice, both times successfully. But Plesk still serving an expired certificate.

Second time I checked the /var/www/vhosts/system/[mydomain]/conf/vhost_nginx conf

And the name changed as it should, the cert file exists where it says it should be, but server still showing old expiration date.

There's nothing pertinent in the /var/log/plesk/panel.log

I tried plesk repair web -sslcerts but did not resolve issue.

Now I tried going to Websites and Domains>hosting Settings>Security>certificate and selected "not selected" and browsers still show that it has a certificate with old expiration date.
 
Last edited:
I updated Plesk components now at latest Onyx.

Then tried plesk repair web (all)
- httpdmng failed: [2019-10-18 01:40:43.905] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--restart'] with exit code [1] Can not reload proxy server:

Then I tried nginx -t *(is ok)

then
plesk repair all -y -v |
still getting error:
- httpdmng failed: [2019-10-18 01:58:40.110] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--restart'] with exit code [1] Can not reload proxy server:

ALSO
- httpdmng failed: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => [list of domains including many that were removed] )

Went to Tools and Services > manage and tried to manually restart nginx proxy there and at top of page error:

Unable to start service: Unable to manage service by nginxmng: ('start', 'nginx'). Error: [2019-10-18 02:04:05.614] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--start'] with exit code [1] Can not start proxy server:

THEN
[root@u17483829 plesk]# service nginx restart ERROR: ports 80/443 are still not free. [FAILED] Starting nginx: [ OK ]

SO there's an issue with ports... checking
 
Last edited:
OK getting somewhere, I just restarted server and ran plesk repair all -y -v again and now proxy server is running, Cert now showing expired in 2015 so it's not the one that expired last week at least. Will try reinstalling letsencrypt now... I didn't have to do that, I had deselected it for testing... Reselected and we're all good now. Thanks for providing this space where I could vent to myself LOL JK you guys are great and I know you just didn't get around to me yet.
 
Back
Top