ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Certbot Apache plugin broken in Fedora 26

    IT Discussion
    lets encrypt certbot apache fredora linux fedora 26 ssl ssl certificates tls
    7
    20
    5.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brianlittlejohnB
      brianlittlejohn
      last edited by scottalanmiller

      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)
      
      JaredBuschJ 1 Reply Last reply Reply Quote 2
      • brianlittlejohnB
        brianlittlejohn
        last edited by

        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
        
        1 Reply Last reply Reply Quote 4
        • A
          Alex Sage
          last edited by

          Thanks for the heads up đŸ™‚

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @brianlittlejohn
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • brianlittlejohnB
              brianlittlejohn
              last edited by

              Its on my Nextcloud instance on vultr, so it is the only thing I've tested.

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @brianlittlejohn
                last edited by

                @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.

                brianlittlejohnB 1 Reply Last reply Reply Quote 0
                • brianlittlejohnB
                  brianlittlejohn @JaredBusch
                  last edited by

                  @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.

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @brianlittlejohn
                    last edited by

                    @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..

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • brianlittlejohnB
                        brianlittlejohn
                        last edited by

                        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
                        
                        1 Reply Last reply Reply Quote 4
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          This thread needs tags something fierce.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Fixed

                            1 Reply Last reply Reply Quote 0
                            • brianlittlejohnB
                              brianlittlejohn
                              last edited by

                              I always forget about tags....

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                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.

                                brianlittlejohnB zachary715Z 2 Replies Last reply Reply Quote 1
                                • brianlittlejohnB
                                  brianlittlejohn @scottalanmiller
                                  last edited by

                                  @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.

                                  brianlittlejohnB 1 Reply Last reply Reply Quote 1
                                  • brianlittlejohnB
                                    brianlittlejohn @brianlittlejohn
                                    last edited by

                                    @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.

                                    travisdh1T 1 Reply Last reply Reply Quote 0
                                    • travisdh1T
                                      travisdh1 @brianlittlejohn
                                      last edited by

                                      @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.

                                      brianlittlejohnB 1 Reply Last reply Reply Quote 0
                                      • brianlittlejohnB
                                        brianlittlejohn @travisdh1
                                        last edited by brianlittlejohn

                                        @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

                                        https://mangolassi.it/post/319419

                                        1 Reply Last reply Reply Quote 1
                                        • scottalanmillerS
                                          scottalanmiller
                                          last edited by

                                          I set it as marked as answered. Should be clear now.

                                          1 Reply Last reply Reply Quote 1
                                          • zachary715Z
                                            zachary715 @scottalanmiller
                                            last edited by

                                            @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.

                                            JaredBuschJ 1 Reply Last reply Reply Quote 1
                                            • JaredBuschJ
                                              JaredBusch @zachary715
                                              last edited by JaredBusch

                                              @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..

                                              1 Reply Last reply Reply Quote 0
                                              • 1 / 1
                                              • First post
                                                Last post