New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Opensource: simplest automatic single pure bash shell script for LetsEncrypt
Just one script, to issue, renew your certificates automatically.
Probably the smallest&easiest&smartest shell script to automatically issue&renew the free certificates from LetsEncrypt.
https://github.com/Neilpang/le.git
Pure written in bash, no dependencies to python , acme-tiny or LetsEncrypt official client
Star & fork
Comments
Awesome. This will come in handy
I just used this and it seemed to work for apache... I guess the cronjob is needed bc the cert isn't valid for very long?
In any event, the script worked great and was so much faster than the convoluted nonsense we all had to endure previously to renew or have a new cert issued. I used the apache directive for the script but still had to manually change the ssl.conf file to point to new files.
Seems to have worked great.
Thanks for posting!!
For the record, https://github.com/lukas2511/letsencrypt.sh is better, simpler, just works and needs 3 times less code (~1000 lines vs ~3000).
Thanks rm_, will def check it out for my other sites. What an unbelievable scam these
CA's were for all these years. Glad its over and no longer held captive to their nonsense. I think it's one of the most egregious, scammy parts of the internet... especially with the CA's giving copies of the keys to the NSA... WTF............
Wow. I experienced actual physical pain reading that 2,916 lines of tragedy.
Alas, LET won't let me tell you about it (have I ever told you how much CloudFlare's protection sucks @jarland ?) but you can find my detailed and rather snarky explanation why here:
http://pastebin.com/6uSrhRt3
Oh and also:
It's a thread by the script author about the script. Given it still works and is still being developed (last update 4 days ago), what makes you think the thread is no longer of relevance and the discussion should stop? Just the reflex of "herp derp old thread must not bump"?
Raindog, that pastebin is pretty hardcore.
It works for me so I am happy, but I feel u dog and all that...
Oh, missed that one.
Cuz you might not have anything else on a 4 MB of flash OpenWRT router? (For example.) Or you have other ideas in mind for that megabyte of flash which Python would take up. Just because the OP didn't do it well enough, doesn't mean there isn't any use for a shell-script LE client, or that nobody else can make a good one.
Also I don't think it makes any sense to even bring up LSB in 2016, or to suggest Perl of all things in a discussion about clear and easy to maintain code for that matter.
Certbot.com ... Wanted to add this to the list
Im fine with certbot.