GithubHelp home page GithubHelp logo

Comments (6)

igalic avatar igalic commented on July 19, 2024

so i just ran into this,

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org

-------------------------------------------------------------------------------
You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/cyhr.net.conf)

It contains these names: cyhr.net

You requested these names for the new certificate: cyhr.net, static.cyhr.net.

Do you want to expand and replace this existing certificate with the new
certificate?
-------------------------------------------------------------------------------
(E)xpand/(C)ancel: 

my version of letsencrypt --help certonly doesn't even document an --expand option.
When was that added?

from puppet-letsencrypt.

cwells avatar cwells commented on July 19, 2024

You can use --force-renewal to cause the cert to be reissued.

If the letsencrypt_directory fact from PR #110 were to be merged, it would seemingly be a simple matter of comparing the fact values to the resource domains attribute and regenerating/running the script if they don't match. But I've quit holding my breath on that one.

from puppet-letsencrypt.

adenau avatar adenau commented on July 19, 2024

+1 on this bug. I had to renew the certificates manually using the --force-renewal ,but it would nice if Puppet were to notice the additional domain.

from puppet-letsencrypt.

Nekototori avatar Nekototori commented on July 19, 2024

Current workaround I've been doing is multiple certonly resources, which each creates its own cronjob.

from puppet-letsencrypt.

ianssoftcom avatar ianssoftcom commented on July 19, 2024

The version of /usr/bin/letsencrypt from the package install on Ubuntu 16.04 does not have the --cert-name parameter. letsencrypt might have to come from vcs instead of package

letsencrypt: error: unrecognized arguments: --cert-name

$ letsencrypt --version
letsencrypt 0.4.1

from puppet-letsencrypt.

ianssoftcom avatar ianssoftcom commented on July 19, 2024

I upgraded the letsencrypt package version by adding bionic to the sources.list and pinning the priority.

# sed 's/xenial/bionic/g' sources.list > sources.list.d/bionic.list

# cat /etc/apt/preferences.d/bionic.pref 
Package: *
Pin: release v=18.04
Pin-Priority: 50

# cat /etc/apt/preferences.d/letsencrypt.pref 
Package: letsencrypt*
Pin: release v=18.04
Pin-Priority: 600

Not the puppet way to do this (apt::source { pin => 50 }), but it is quick and dirty and resolves the errors.

from puppet-letsencrypt.

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.