• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Let's Encrypt: Certs not auto-renewed if redirect to HTTPS is enabled for domain

hansitheking

Basic Pleskian
Server operating system version
Ubunut 22.04
Plesk version and microupdate number
18.0.57 #5
My Let's Encrypt certs do not get auto-renewed because the redirect from HTTP to HTTPS is enabled in Plesk. The only hotfix I found for the moment is to disable the redirect temporary during the night by running a cron with:

Code:
plesk bin site -l | while read i; do plesk bin site -u $i -ssl-redirect false; done

and in the morning, after 4 hours, I switch on the redirect again:

Code:
plesk bin site -l | while read i; do plesk bin site -u $i -ssl-redirect true; done

Does anyone else have this problem or another solution?

---
Ubuntu 22.04.3 LTS
Plesk Obsidian: Version 18.0.57 Update #5
---
 
My Let's Encrypt certs do not get auto-renewed because the redirect from HTTP to HTTPS is enabled in Plesk. The only hotfix I found for the moment is to disable the redirect temporary during the night by running a cron with:

Code:
plesk bin site -l | while read i; do plesk bin site -u $i -ssl-redirect false; done

and in the morning, after 4 hours, I switch on the redirect again:

Code:
plesk bin site -l | while read i; do plesk bin site -u $i -ssl-redirect true; done

Does anyone else have this problem or another solution?

---
Ubuntu 22.04.3 LTS
Plesk Obsidian: Version 18.0.57 Update #5
---
It would appear that we also have this issue today
 
My Let's Encrypt certs do not get auto-renewed because the redirect from HTTP to HTTPS is enabled in Plesk.
We've never, ever, had this issue, since we commenced using Plesk and Let's Encrypt SSL Certs. Plus, ALL of our hosted domains have been redirected from HTTP to HTTPS since they were first hosted by us. As we're on the same Server(s) OS and a very similar Plesk Obsidian Release, it's more likely to be a local mis-config, somewhere in your own setup, as opposed to a Plesk error. FWIW Our last set of Let's Encrypt renewals were indeed, when we were using Plesk Obsidian 18.0.57
~~
Does anyone else have this problem or another solution?
---
Ubuntu 22.04.3 LTS
Plesk Obsidian: Version 18.0.57 Update #5
---
 
Solution: After a long back and forth with the operator (alfahosting.de) of my server, it turned out that it was inaccessible via IPv6. Since the problem was fixed, everything is working again. This post is directly related to this post. I recommend everyone to start testing with this tool: Let's Debug
 
FWIW: Similar issue, various attempts to reissue or renew nearly-expired certificate wouldn't work.

Resolution was to delete ("unassign") the Lets Encrypt certificate and create a new wildcard certificate.
 
Back
Top