mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #1280] Letsencrypt config prevents renewal #1035
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1035
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TacoScheltema on GitHub (Oct 24, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1280
Impacted versions
Steps to reproduce
Use the installer to setup Modoboa and enable Letsencrypt
Current behavior
Certificate renewal fails
Expected behavior
Certificate is renewed in time
After installation the Letsencrypt authenticator is set to 'standalone' in /etc/letsencrypt/renewal/domain.conf like so:
This will cause the renewal to fail due to port 443 being in use.
by changing the authenticator to 'nginx' after installation has completed the renewal process will then use nginx for the renewal and succeed.
@tonioo commented on GitHub (Oct 27, 2017):
This issue was moved to modoboa/modoboa-installer#165
@tonioo commented on GitHub (Dec 7, 2017):
@TacoScheltema Does it require a modification on nginx side?
@TacoScheltema commented on GitHub (Dec 7, 2017):
@tonioo no, all it will do is use nginx to verify the certificate renewal.
With the authenticator set to standalone, certbot will try to start it's own listener on port 443 and fail since nginx is already listening on that port.
There's no change needed to nginx configuration.
@tonioo commented on GitHub (Dec 8, 2017):
Thank you for the feedback, I've fixed the installer (https://github.com/modoboa/modoboa-installer/issues/165).
@TacoScheltema commented on GitHub (Dec 8, 2017):
Awesome! thanks 👍