Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confconsole Dehydrated plugin appears broken on v14.2 #976

Closed
JedMeister opened this issue Nov 24, 2017 · 4 comments

Comments

Projects
None yet
1 participant
@JedMeister
Copy link
Member

commented Nov 24, 2017

Dan has reported in the forums that Confconsole is not working and is throwing an error:

2017-11-22 18:22:32] dehydrated-wrapper: WARNING: /etc/dehydrated/confconsole.config not found; copying default from /usr/share/confconsole/letsencrypt/dehydrated-confconsole.config
[2017-11-22 18:22:32] dehydrated-wrapper: WARNING: /etc/dehydrated/confconsole.hook.sh not found; copying default from /usr/share/confconsole/letsencrypt/dehydrated-confconsole.hook.sh
[2017-11-22 18:22:32] dehydrated-wrapper: WARNING: /etc/cron.daily/confconsole-dehydrated not found; copying default from /usr/share/confconsole/letsencrypt/dehydrated-confconsole.cron
  + ERROR: An error occurred while sending post-request to https://acme-v01.api.letsencrypt.org/acme/new-reg (Status 400)
Details:
{
  "type": "urn:acme:error:malformed",
  "detail": "Provided agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf] urn:acme:error:malformed [https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf]",
  "status": 400
}
[2017-11-22 18:22:35] dehydrated-wrapper: FATAL: dehydrated exited with a non-zero exit code.
[2017-11-22 18:22:35] dehydrated-wrapper: WARNING: Something went wrong, restoring original cert & key.
[2017-11-22 18:22:36] dehydrated-wrapper: WARNING: Check today's previous log entries for details of error.
@JedMeister

This comment has been minimized.

Copy link
Member Author

commented Nov 27, 2017

I have just confirmed this and am working on a fix (or at least a workaround).

@JedMeister

This comment has been minimized.

Copy link
Member Author

commented Nov 28, 2017

Please note: this fix only applies if you have already run the Confconsole Let's Encrypt plugin and encountered the error message. If you have not yet run the Confconsole tool and tried to get a certificate (and had it fail) the config file likely does not yet exist! To double check that the required file exists, please try this:

ls /etc/dehydrated/confconsole.config

If that shows a file, then you are good to proceed to the workaround below. Otherwise you will get an error message: ls: cannot access '/etc/dehydrated/confconsole.config': No such file or directory.

Workaround
Assuming that the config file already exists, the workaround is really simple! You just need to add a new line to the config file. You can do that like this:

echo 'LICENSE="https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"' >> /etc/dehydrated/confconsole.config

@JedMeister JedMeister added this to the 15.0 milestone Nov 29, 2017

@JedMeister JedMeister self-assigned this Mar 2, 2018

@JedMeister

This comment has been minimized.

Copy link
Member Author

commented Apr 18, 2018

This has already been fixed for the upcoming v15.0 release, but is still an issue for v14.2. Hopefully it will get uploaded soon!

@JedMeister

This comment has been minimized.

Copy link
Member Author

commented Aug 2, 2018

Whilst ideally this should also be updated in v14.2, due to our current focus on pushing forward with v15.0, I'm going to close this issue... Apologies to any remaining v14.2 users, but the above workaround is still relevant and will allow you to continue on. However, please note that in the v15.0 version, it dynamically gets the URL of the agreement, so should be somewhat "future proof"...

@JedMeister JedMeister closed this Aug 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.