Solved Certbot Apache plugin broken in Fedora 26
-
Trying to renew a certificate and Certbot fails to detect the apache plugin on Fedora 26 systems, luckily this is on a personal system and not critical so I can wait until a fix is released.
Cert is due for renewal, auto-renewing... Could not choose appropriate plugin: The requested apache plugin does not appear to be installed Attempting to renew cert from /etc/letsencrypt/renewal/domain.tld.conf produced an unexpected error: The requested apache plugin does not appear to be installed. Skipping. All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/domain.tld/fullchain.pem (failure) 1 renew failure(s), 0 parse failure(s)
-
Found a solution:
https://bugzilla.redhat.com/show_bug.cgi?id=1470180
Basically, the python2 certbot apache plugin is broken, but the python 3 certbot apache plugin works. So I installed it.
sudo dnf install python3-certbot-apache
-
Thanks for the heads up
-
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
Trying to renew a certificate and Certbot fails to detect the apache plugin on Fedora 26 systems, luckily this is on a personal system and not critical so I can wait until a fix is released.
Cert is due for renewal, auto-renewing... Could not choose appropriate plugin: The requested apache plugin does not appear to be installed Attempting to renew cert from /etc/letsencrypt/renewal/domain.tld.conf produced an unexpected error: The requested apache plugin does not appear to be installed. Skipping. All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/domain.tld/fullchain.pem (failure) 1 renew failure(s), 0 parse failure(s)
Specifically the apache plugin is broke? I never use that so I expect no problems.
-
Its on my Nextcloud instance on vultr, so it is the only thing I've tested.
-
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
Its on my Nextcloud instance on vultr, so it is the only thing I've tested.
I don't like things screwing with my conf files, so I always run with the certonly switch and I edit the conf files myself to point to the correct cert.
-
@jaredbusch said in Certbot Apache plugin broken in Fedora 26:
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
Its on my Nextcloud instance on vultr, so it is the only thing I've tested.
I don't like things screwing with my conf files, so I always run with the certonly switch and I edit the conf files myself to point to the correct cert.
I tried to issue a new cert with the certonly switch as well and it gave the same error about missing plugin that is actually installed.
-
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
@jaredbusch said in Certbot Apache plugin broken in Fedora 26:
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
Its on my Nextcloud instance on vultr, so it is the only thing I've tested.
I don't like things screwing with my conf files, so I always run with the certonly switch and I edit the conf files myself to point to the correct cert.
I tried to issue a new cert with the certonly switch as well and it gave the same error about missing plugin that is actually installed.
Not sure you can do that. The renew process knows how the cert was obtained in the first place. Again, not something I've done..
-
I don't understand your lack of desire for a script to touch font files? It would seem to be more reliable, less human error, after you test it of course.
-
Found a solution:
https://bugzilla.redhat.com/show_bug.cgi?id=1470180
Basically, the python2 certbot apache plugin is broken, but the python 3 certbot apache plugin works. So I installed it.
sudo dnf install python3-certbot-apache
-
This thread needs tags something fierce.
-
Fixed
-
I always forget about tags....
-
I ran into this issue, forgot about this thread, went through LetsEncrypt's threads and their solution for this problem led me... here! Very nice.
-
@scottalanmiller said in Certbot Apache plugin broken in Fedora 26:
I ran into this issue, forgot about this thread, went through LetsEncrypt's threads and their solution for this problem led me... here! Very nice.
That’s funny, one of their threads has the resolution in it, that’s how I found it... just not as easy to find.
-
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
@scottalanmiller said in Certbot Apache plugin broken in Fedora 26:
I ran into this issue, forgot about this thread, went through LetsEncrypt's threads and their solution for this problem led me... here! Very nice.
That’s funny, one of their threads has the resolution in it, that’s how I found it... just not as easy to find.
I take that back...actually found it on a Redhat forum.
-
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
@scottalanmiller said in Certbot Apache plugin broken in Fedora 26:
I ran into this issue, forgot about this thread, went through LetsEncrypt's threads and their solution for this problem led me... here! Very nice.
That’s funny, one of their threads has the resolution in it, that’s how I found it... just not as easy to find.
I take that back...actually found it on a Redhat forum.
Makes sense.
Do you remember the fix? Or even just the thread we can look at when the time comes, because I know I'll need to know at some point.
-
@travisdh1 said in Certbot Apache plugin broken in Fedora 26:
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
@brianlittlejohn said in Certbot Apache plugin broken in Fedora 26:
@scottalanmiller said in Certbot Apache plugin broken in Fedora 26:
I ran into this issue, forgot about this thread, went through LetsEncrypt's threads and their solution for this problem led me... here! Very nice.
That’s funny, one of their threads has the resolution in it, that’s how I found it... just not as easy to find.
I take that back...actually found it on a Redhat forum.
Makes sense.
Do you remember the fix? Or even just the thread we can look at when the time comes, because I know I'll need to know at some point.
It’s linked in my fix post on this thread
-
I set it as marked as answered. Should be clear now.
-
@scottalanmiller said in Certbot Apache plugin broken in Fedora 26:
I ran into this issue, forgot about this thread, went through LetsEncrypt's threads and their solution for this problem led me... here! Very nice.
Just did the exact same thing. Let'sEncrypt forum had the link which led me here right about the time @JaredBusch was responding in my other thread.
-
@zachary715 said in Certbot Apache plugin broken in Fedora 26:
@scottalanmiller said in Certbot Apache plugin broken in Fedora 26:
I ran into this issue, forgot about this thread, went through LetsEncrypt's threads and their solution for this problem led me... here! Very nice.
Just did the exact same thing. Let'sEncrypt forum had the link which led me here right about the time @JaredBusch was responding in my other thread.
It has been posted on here more than one time. I should probably find one of those posts and make @scottalanmiller tag it appropriately.
Edit: Or too slow..