Bug 1470180
Summary: | Certbot fails to renew LetsEncrypt certificate for Apache | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jerry <bugzilla> |
Component: | certbot | Assignee: | James Hogarth <james.hogarth> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | itamar, james.hogarth, nb, nick, rbu, redhat-bugzilla, sten |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-29 12:20:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jerry
2017-07-12 13:42:14 UTC
Okay, as usual, after posting a bug, I found a solution. It appears that Fedora 26 needs the python3 apache certbot plugin? This was my output below: [root@myserver ~]# certbot plugins Saving debug log to /var/log/letsencrypt/letsencrypt.log * standalone Description: Spin up a temporary webserver Interfaces: IAuthenticator, IPlugin Entry point: standalone = certbot.plugins.standalone:Authenticator * webroot Description: Place files in webroot directory Interfaces: IAuthenticator, IPlugin Entry point: webroot = certbot.plugins.webroot:Authenticator [root@myserver ~]# rpm -qa | grep certbot certbot-0.14.1-3.fc26.noarch python2-certbot-apache-0.14.1-1.fc26.noarch python3-certbot-0.14.1-3.fc26.noarch python2-certbot-0.14.1-3.fc26.noarch [root@myserver ~]# dnf install python3-certbot-apache-0.14.1-1.fc26.noarch ... [root@myserver ~]# certbot plugins Saving debug log to /var/log/letsencrypt/letsencrypt.log * apache Description: Apache Web Server plugin - Beta Interfaces: IAuthenticator, IInstaller, IPlugin Entry point: apache = certbot_apache.configurator:ApacheConfigurator * standalone Description: Spin up a temporary webserver Interfaces: IAuthenticator, IPlugin Entry point: standalone = certbot.plugins.standalone:Authenticator * webroot Description: Place files in webroot directory Interfaces: IAuthenticator, IPlugin Entry point: webroot = certbot.plugins.webroot:Authenticator [root@myserver ~]# I upgraded from Fedora 25 to Fedora 26 a few weeks ago. I did not alter these rpm files until this morning, so I think perhaps the python3 apache certbot plugin should now be required, or the python2 plugin should be fixed. Thanks! After upgrading f25 -> f26, certbot renew failed, and I had to install python3-certbot-apache. This let the renew run successfully. I stepped through my dnf history like this: [root@serv01 ~]# for id in $(seq 1 $(dnf history info | awk '/ID/ {print $NF}')); do dnf history info $id | grep certbot && echo $id ; done it looks like I manually installed certbot with "dnf -y install certbot" which pulled in python2-certbot as a dependency, then manually installed python2-certbot-apache afterward to let it set up apache. The next hit is when I did the dnf system-upgrade to 26, which appears to have pulled in python3-certbot as a dependency: [root@serv01 ~]# sudo dnf history info 69 | grep -A1 certbot Upgraded certbot-0.14.1-3.fc25.noarch @updates/25 Upgrade 0.14.1-3.fc26.noarch @@commandline -- Upgraded python2-certbot-0.14.1-3.fc25.noarch @updates/25 Upgrade 0.14.1-3.fc26.noarch @@commandline Upgraded python2-certbot-apache-0.14.1-1.fc25.noarch @updates/25 Upgrade 0.14.1-1.fc26.noarch @@commandline -- Install python3-certbot-0.14.1-3.fc26.noarch @@commandline Install python3-cffi-1.9.1-2.fc26.armv7hl @@commandline -- Not sure what could be done better to make sure the python3-certbot-apache plugin gets installed where it's needed, there's not a simple matter of a missing dep here. This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |