GithubHelp home page GithubHelp logo

Comments (9)

maxxer avatar maxxer commented on July 27, 2024

I noticed something strange on my installation... I'll have a look, but cannot promise an ETA, quite busy lately :(

from certbot-zimbra.

maxxer avatar maxxer commented on July 27, 2024

I just updated a 8.6RHEL7 and cert has been deployed fine. In the next days I'll have a chance to update an UBUNTU12 one, I'll let you know

from certbot-zimbra.

syphernl avatar syphernl commented on July 27, 2024

FWIW my Zimbra box runs on 14.04 but shouldn't make much difference probably.

from certbot-zimbra.

maxxer avatar maxxer commented on July 27, 2024

What does
openssl x509 -noout -dates -in /opt/zimbra/ssl/zimbra/commercial/commercial.crt
says?

from certbot-zimbra.

syphernl avatar syphernl commented on July 27, 2024
openssl x509 -noout -dates -in /opt/zimbra/ssl/zimbra/commercial/commercial.crt

notBefore=May 11 11:15:00 2017 GMT
notAfter=Aug  9 11:15:00 2017 GMT

from certbot-zimbra.

maxxer avatar maxxer commented on July 27, 2024

Are you sure the letsencrypt cert has been renewed? And that the certs in /opt/zimbra/ssl/letsencrypt/ are the renewed ones? Check with the same command

from certbot-zimbra.

syphernl avatar syphernl commented on July 27, 2024

The problem appears to be due to the fact that the script is getting the information from /etc/letsencrypt/live/zimbra.example.com while Certbot has created the new stuff into /etc/letsencrypt/live/zimbra.example.com-0001.

This may be due to the fact that the initial request was done with a SAN (Subject Alternative Name aka multi-domain certificate) but the new request dropped this to one hostname (which was intended).

Once i moved the zimbra.example.com to zimbra.example.com_old and zimbra.example.com-0001 to zimbra.example.com and now the commercial.crt has been replaced properly and is working fine now.

So the issue appears to be here that the script cannot deal with the fact that a certificate request can change and result in a new folder.

from certbot-zimbra.

maxxer avatar maxxer commented on July 27, 2024

I should take advantage of shell vars passed to the renew hook:

  --renew-hook RENEW_HOOK
                        Command to be run in a shell once for each
                        successfully renewed certificate. For this command,
                        the shell variable $RENEWED_LINEAGE will point to the
                        config live subdirectory (for example,
                        "/etc/letsencrypt/live/example.com") containing the
                        new certificates and keys; the shell variable
                        $RENEWED_DOMAINS will contain a space-delimited list
                        of renewed certificate domains (for example,
                        "example.com www.example.com" (default: None)

from certbot-zimbra.

maxxer avatar maxxer commented on July 27, 2024

I've pushed a test fix, if you have any chance to test it.

from certbot-zimbra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.