• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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