this post was submitted on 08 Sep 2023
590 points (98.0% liked)

Selfhosted

40415 readers
388 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I've been downloading SSL certificates from my domain provider, using cat to join them together to make the fullchain.pem, uploading them to the server, and myself adding a 90 day calendar reminder. Every time I did this I'd think I should find out about this Certbot thing.

Well, I finally got around to it, and it was one of those jobs which turns out to be so easy you wish you'd done it ages ago.

The install was simple (I'm using nginx/ubuntu).

It scans up your server conf files to see which sites are being served, asks you a couple of questions, obtains the Let's Encrypt certificate for them, installs it, updates your conf files to use it, and sets up a cron job to check if it's time to renew the certificate, which it will also do auto-magically.

I was so pleased with it I made a donation to the EFF for it, then I started to think about how amazingly useful Let's Encrypt is, and gave them one too. It's just a really good time to be in this hobby.

I highly recommend Certbot. If you've been putting this off, or only just hearing about it, make some time for it.

you are viewing a single comment's thread
view the rest of the comments
[–] Appoxo@lemmy.dbzer0.com 23 points 1 year ago (4 children)
[–] ExLisper@linux.community 9 points 1 year ago

traefik worked for me once. Then I tried to use it again in a different and I didn't manage to get it to run. Caddy is much simpler. Traefik is more powerful but just for Let's Encrypt I would go with Caddy.

[–] clb92@feddit.dk 3 points 1 year ago (1 children)

I took a look at Traefik once and the complexity scared me away. Caddy is my cup of tea with one simple config file.

[–] itmike@fikaverse.club 0 points 1 year ago (1 children)

@clb92 @Appoxo ...but traefik's autoconfigure from labels on your services in the compose file is so nice.

[–] clb92@feddit.dk 2 points 1 year ago

I don't use compose.

[–] chandz05@lemmy.world 3 points 1 year ago
[–] Lucidlethargy@sh.itjust.works 2 points 1 year ago (1 children)
[–] Appoxo@lemmy.dbzer0.com 1 points 1 year ago

So many tools. Yet not enough time.