5 ms·
I strongly recommend using acme-tiny for generating Let's Encrypt certificates: https://github.com/diafygi/acme-tiny/ https://github.com/diafygi/acme-tiny/ No
by mootothemax 11y ago
I strongly recommend using acme-tiny for generating Let's Encrypt certificates:
https://github.com/diafygi/acme-tiny/ https://github.com/diafygi/acme-tiny/
No worrying auto-configuration; no need to take sites down; no unknown unknowns.
Just follow the simple steps, and automatic certificate generation can be set up in moments.
(in fact, I'd be kinda surprised if Let's Encrypt don't start recommending it as their "know what you're doing? then use this" option)
- mei0Iesh 11y agoThat looks like a lot more work than the official client. I don't get why so many people immediately on the first day of public beta turn to alternative clients. I used the official one, and by looking at the --help options I easily found how to automatically generate a certificate without taking down the server, and without using root privileges: letsencrypt -t --work-dir /tmp --logs-dir /tmp \ certonly --webroot /var/www/example.com/htdocs -d example.com With this in nginx.conf: listen 443 ssl http2; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem Those paths are examples obviously. But I did that, issued a 'service nginx reload', and it was done. I can reissue that command in a cron job to renew whenever I want. There are some Python dependencies for the official client, but my package manager installed them for me, so I don't get why people avoid it, especially when most of these alternative clients require more work. The official client handles your registered account, and I don't trust the alternatives not to mess with that or be incompatible in some way, so if you ever want to seamlessly use the official again you might end up with a different account identity or something. I don't know, I didn't look too deeply into it, other than the steps, and the official one was easiest for me.
- JshWright 11y agoIt's not about ease of use, it's about trust. acme-tiny is short enough that anyone with a cursory knowledge of Python can audit it and know exactly what it's doing.
- mei0Iesh 11y agoIf you don't trust the official client, why do you trust them to be your certificate authority? Also, note that I ran this command as a normal user, not root.
- schoen 11y agoThe purposes for which you trust a CA and the purposes for which you trust a software developer are different, the ways of verifying what they do are different, and the ways their work can go wrong are different. I work on the official Python client for Let's Encrypt, but I support people's decision to use a different client if they prefer. It's frustrating to see the occasional conspiracy theory suggesting that the Let's Encrypt project somehow wants to backdoor the client in order to compromise people's servers (an idea that occasionally gets brought up on our forums!). But it makes sense that some people want a client that doesn't modify their server configurations. The official client tries to modify server configurations because we believe that many people don't have the expertise or inclination to do it on their own. That goal does make the official client more complex, and there are still plenty of integration bugs to find and fix. If people want a simpler and more hands-off client without the integration features, they should definitely use one, and it's a valuable service that this option is available.
- mei0Iesh 11y agoIf you can't trust a CA not to prevent their official client from becoming malware, then I don't see how you can trust them to maintain their position as CA. There is no real scenario where the official client is discovered to be backdoored, and people go on using Let's Encrypt certificates.
- deleted 11y ago[deleted]
- pdkl95 11y agoMalware isn't the problem - their automagic client screwing up my webserver is the problem. This is a justified concern given that the official client already demonstrates bad behavior by causing side effects on --help (see my top level post).
- deleted 11y ago[deleted]
- mootothemax 11y ago>That looks like a lot more work than the official client. Maybe some people have different experience levels, time constraints, or patience for the non-obvious than yourself? I myself by far found tiny-acme the simpler client to understand; there was absolutely zero worrying about what modifications are being made to configuration files, nor concerns about how best to get everything in a nice cron job. If this is a case of the official client's documentation being too dense for the likes of me, then so be it. Edit: >There are some Python dependencies for the official client, but my package manager installed them for me I just saw the top post regarding this, and then re-read about it in your comment. For me - again, possibly a different use case to your own - this is not cool.