Open faca5 opened 1 year ago
Hello, i have the same issue did any one find a solution ?
We have added cronjob for "purgecache" everyday.
Please check #570 and #566 for more information.
Thank you.
thank you faca5 for your help i will try it and see if it will fix this issue, by the way i did found that i need to restart nginx manually every time an SSL certificate is renewed to fix invalid/expire SSL certificate issue.
What does "purgecache"?
Set cronjob in night time or early morning to avoid downtime for few seconds.
ok thank you so much
i did some research and i did found that cPanel has a specific cronjob for autossl its located on : /etc/cron.d/cpanel_autossl my idea is to add nginx reload command to the end of the cronjob so that every time that cPanel renew ssl it will reload nginx in this way i will be sure that nginx will always load the renewed ssl. i did add " && /usr/sbin/nginx -s reload" to the end of the conjob line so it will become like this : 53 0,3,6,9,12,15,18,21 * root /usr/local/cpanel/bin/autossl_check --all && /usr/sbin/nginx -s reload
you can test it and let me know your feedback.
Writing in with our experience. In the last month we have deployed 2 new cPanel servers and they both present this issue. None of the fixes mentioned in this thread or the related report 1445 fix the problem. We're just going to have to pull Engintron from production for now which will present its own headaches but we look forward to monitoring the conversation here to see what other feedback comes around.
I have experienced this issue for years as well on Coudlinux 7 and Cloudlinux 8. My only solution has been to add a cron job to reload nginx. There's something that isn't working correctly with the script that is running in the background "/etc/nginx/utilities/https_vhosts.sh"
Here we are currently having the same problem. Every time a certificate is renewed or we receive a new signature, it is necessary to clear the cache so that the client can use the certificate.
It's quite annoying, both for the company and for customers. Every day we receive several support tickets with requests related to SSL certificates.
Hello.
Latest version of Engintron v2.1 has problem to reload new SSL certificates.
Example:
You got error, invalid/expire SSL certificate.
You need manually press "Flush Cache" in "Engintron" to start site work again Engintron doesn't reload new SSL certificate once it is replaced because it has old state in cache.