Hacker GitHub

← All repos

dehydrated-io/dehydrated

View on GitHub ↗ ★ 6,263 Shell

ACME client implemented as a simple shell-script – just add water

53 mentions on Hacker News by 39 people: 2 stories, 51 comments · first 2015-12-05 · latest 2025-10-29

Mentions per year 53 mentions · busiest year 2016 (15)
20082026
  1. …it came out and never used certbot, FWIW. If I were to set something up today, I'd probably use https://github.com/dehydrated-io/dehydrated .
    comment by rpdillon · 2025-10-29 · in HTTPS by default
  2. …current collection does have the following note in it: **Get the current version of dehydrated from https://github.com/dehydrated-io/dehydrated ** (Dehydrated was previously found at https://github.com/lukas2511/dehydrated) ...so I was…
  3. Good to see this. For those that weren't aware, there's been a low-effort solution with https://github.com/dehydrated-io/dehydrated , combined with a pretty simple couple of lines in your vhost config: location ^~…
  4. …broke different clients, e.g.: * https://community.letsencrypt.org/t/jws-has-no-anti-replay-n... * https://github.com/dehydrated-io/dehydrated/issues/684 Being able to get e-mails was an extra level of monitoring that was handy, even if…
    comment by throw0101d · 2025-07-22 · in LetsEncrypt Outage
  5. …needed to be tweaked: * https://community.letsencrypt.org/t/jws-has-no-anti-replay-n... * https://github.com/dehydrated-io/dehydrated/commit/e4e712c03... Other than that, never had an issue.
  6. …descriptors 3 and 4? # Close weird external file descriptors exec 3>&- exec 4>&- From this commit: https://github.com/dehydrated-io/dehydrated/commit/b116e6bc2...
  7. …and acme.sh seems different. Is one of them fork? https://github.com/acmesh-official/acme.sh https://github.com/dehydrated-io/dehydrated
  8. …important. Personally I find it much easier to understand / configure dehydrated : $ git clone https://github.com/dehydrated-io/dehydrated.git $ sudo cp dehydrated/dehydrated /usr/bin/ # cat > /etc/dehydrated/config…
  9. …could test adding/removing records without ever invoking ACME process is also a huge benefit. [1]: https://github.com/dehydrated-io/dehydrated/blob/master/docs... [2]: https://github.com/AnalogJ/lexicon [3]:…
  10. I've had a lot of success with https://github.com/dehydrated-io/dehydrated . It exposes the different parts of the process (deploy challenge to DNS, deploy cert to filesystem, etc) as hooks, so it's pretty easy to integrate with anything…
  11. …up being a 5000-line Python monster anyway. The dehydrated ACME client is 2400 lines of bash/zsh: * https://github.com/dehydrated-io/dehydrated And its external dependencies are OpenSSL and cURL. The acme.sh shell ACME client is 8000 lines…
    comment by throw0101c · 2023-03-11 · in Write Posix Shell
  12. Dehydrated.io, damn few dependencies. You're welcome. https://github.com/dehydrated-io/dehydrated
  13. Fan of https://github.com/dehydrated-io/dehydrated
    comment by jpb0104 · 2022-10-21 · in Ubuntu 22.10 Kinetic Kudu
  14. …is called Pebble.) (2) A later ACME client was called "dehydrated", after, well, take a look: https://github.com/dehydrated-io/dehydrated (3) I'm pretty sure I'm forgetting another roadrunner joke here somewhere
  15. …until you run a version of linux unsupported. Consider using an ACME client written in shell: * https://github.com/dehydrated-io/dehydrated * https://github.com/acmesh-official/acme.sh There's a minor change for the pre/post-scripts to…
    comment by throw0101a · 2022-02-01 · in Does my site need HTTPS?
  16. …cert you already have, it'll just obtain it anyway. Handling this from a script is a huge pain. [1] https://github.com/dehydrated-io/dehydrated
  17. …startup_hook() / exit_hook() functions, or the deploy_challenge() / clean_challenge() functions: * https://github.com/dehydrated-io/dehydrated/blob/master/docs... > otherwise you have the DNS option which means giving the server access to…
  18. My favourite ACME client is dehydrated https://github.com/dehydrated-io/dehydrated
  19. Check out dehydrated : * https://github.com/dehydrated-io/dehydrated The hook.sh allows for a lot of flexibility.
    comment by throw0101a · 2020-09-10 · in Letsencrypt, the Good, the Bad and the Ugly
  20. See also: * https://github.com/dehydrated-io/dehydrated All you need is Bash/Zsh, OpenSSL, and cURL.
    comment by throw0101a · 2020-09-10 · in Letsencrypt, the Good, the Bad and the Ugly
  21. …I thought I'd throw another suggestion into the mix: dehydrated (formerly known as letsencrypt.sh) https://github.com/dehydrated-io/dehydrated I've got only good things to say about it. It's a single shell script, making it super easy to…
    comment by charliesome · 2020-09-10 · in Letsencrypt, the Good, the Bad and the Ugly
  22. …ille.org/2019/02/01/acme-domain-alias-mode/ He used acme.sh, though I'm more partial to dehydrated: * https://github.com/dehydrated-io/dehydrated/wiki/example-dns... We use it at work, but I don't want to dox myself. :)
  23. …dns-01 TXT challenge records: * https://dan.langille.org/2017/07/04/acme-sh-getting-free-ssl... * https://github.com/dehydrated-io/dehydrated/wiki/example-dns... The LE client goes to the LE API, gets a verification token/nonce, executes…
  24. …very very nearly maintenance free [1]. [0] There's lots of tooling. My current preference is for https://github.com/lukas2511/dehydrated [1] If something breaks you have to pay attention, otherwise... Not so much.
    comment by shakna · 2019-12-17 · in Still Why No HTTPS?
  25. +1 https://github.com/lukas2511/dehydrated
  26. …trigger via cron to do the whole let's encrypt stuff for you. No dependancies other than curl. [1] https://github.com/lukas2511/dehydrated
    comment by sschueller · 2019-11-18 · in Let's Encrypt certificate issuance was down
  27. I've had good luck with dehydrated ( https://github.com/lukas2511/dehydrated ) It takes a file with a list of domains to check and you can write your own hooks to handle the DNS management and certificate deployment however you want.
    comment by petronio · 2019-11-13 · in Show HN: My Weekend Project, AutoSSL
  28. …It’s just a basic setup with dehydrated[1], some bash scripts for deployment and cron though. [1] https://github.com/lukas2511/dehydrated
    comment by josteink · 2019-04-17 · in Let’s Encrypt to transition to ISRG root
  29. …There is a good article explaining that by Andreas Gohr [3]. [1] - https://www.duckdns.org/ [2] - https://github.com/lukas2511/dehydrated [3] - https://www.splitbrain.org/blog/2017-08/10-homeassistant_duc...
  30. I've been running a modified copy of the dehydrated client ( https://github.com/lukas2511/dehydrated ) for, I dunno, a long time now. Since not long after letsencrypt became available. I have my own domain name servers, so it wasn't hard…
  31. …and it needs either curl or wget for doing http requests. Also, Why would someone prefer this over https://github.com/lukas2511/dehydrated ?
  32. …--cron. There's plenty of pre-written deployment scripts for it, check the wiki and Google. https://github.com/lukas2511/dehydrated Failing that... If you're using Apache, it's on its way to natively supporting Let's Encrypt certificates…
  33. The ansible role installs my ACME client of choice ( https://github.com/lukas2511/dehydrated ), invokes it once, and adds a cronjob.
    comment by tokenizerrr · 2017-07-04 · in Let’s Encrypt in the spotlight
  34. I use https://github.com/lukas2511/dehydrated which is a bash script for doing this. It doesn't choke because it's just a cron job. I also use dokku's LE plugin which is... also a shell script corn job. Maybe that's the way to do this. I…
    comment by IgorPartola · 2017-05-19 · in Let's Encrypt is down
  35. Lets Encrypt and the dehydrated script here: https://github.com/lukas2511/dehydrated Not affiliated - other than as a user of the script.
  36. …your lan. It's all easily automated, as well. [1]: https://gist.github.com/larrybolt/6295160 [2]: https://github.com/lukas2511/dehydrated I can't suggest that cloudflare script, as I've long since rolled my own, but there are plenty of…
    comment by ohyeshedid · 2016-12-14 · in Ask HN: Pseudo Static Ip Service
  37. …only a few glitches. It's specific to our setup but: -> We do DNS verification through Dehydrated ( https://github.com/lukas2511/dehydrated ). Because we use in-house DNS running PowerDNS with a MySQL backend, updates to records are a…
    comment by thaumaturgy · 2016-11-01 · in Let's Automate Let's Encrypt
  38. …put in DNS, you do not need not to respond to a HTTP request for a name (think mail server). [0] https://github.com/lukas2511/letsencrypt.sh [1] https://github.com/silkeh/pdns_api.sh [2] https://github.com/PowerDNS/pdns
  39. https://github.com/lukas2511/letsencrypt.sh provides a BASH script that only uses OpenSSL/cURL and similar tools to retrieve LetsEncrypt certificates. It also provides support for the dns-01 ACME challenge (which quite handily lets a…
  40. I still prefer this simple single file shell script: https://github.com/lukas2511/letsencrypt.sh
  41. …or less straight-forward using acme-tiny. https://github.com/diafygi/acme-tiny Edit: Looks like https://github.com/lukas2511/letsencrypt.sh is capable of doing the same, as pointed out in another comment.
  42. …I can recommend letsencrypt.sh which – together with cron – achieves the same goal: https://github.com/lukas2511/letsencrypt.sh
  43. I have been happy with https://github.com/lukas2511/letsencrypt.sh . I am trying to get it packaged for Debian/Ubuntu and either get it into Debian-proper or at least host the repo myself to make it easier to use for the common case. Since…
  44. I just use https://github.com/lukas2511/letsencrypt.sh/ single bash script. Add a config.sh and setup nginx alias. Then just add domains to the domains.txt and have the script run via cron daily. Finished
  45. …LetsEncrypt fails out of the box, but it's nice we have tools like this at our disposal now. [1] https://github.com/lukas2511/letsencrypt.sh
  46. …through DNS. There are a couple of example scripts [1], and it really simple to write your own. [0] https://github.com/lukas2511/letsencrypt.sh [1] https://github.com/lukas2511/letsencrypt.sh/wiki/Examples-fo...
  47. I use https://github.com/lukas2511/letsencrypt.sh and it handles all the openssl stuff for you, I've found it to be really nice and light-weight. You just give it a directory to put the ACME challenge files in and a list of your domains
  48. I found https://github.com/lukas2511/letsencrypt.sh to be quite nice and easy.
  49. …root. Here's a few: https://github.com/diafygi/letsencrypt-nosudo https://github.com/kuba/simp_le https://github.com/lukas2511/letsencrypt.sh Or you can go a more manual approach via https://gethttpsforfree.com/ but you will need to…
  50. True - Someone implemented it in bash/openssl/curl/sed only. https://github.com/lukas2511/letsencrypt.sh
    comment by chinathrow · 2015-12-21 · in Taking Let's Encrypt for a Spin