this post was submitted on 08 Sep 2023
539 points (97.5% liked)

Selfhosted

60934 readers
861 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 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
[–] gelframe@lemm.ee 9 points 2 years ago (4 children)

This is what I use because fuck snap. I used certbot to do wild card certs but once they went to snap I quit.

[–] dan@upvote.au 6 points 2 years ago* (last edited 2 years ago) (1 children)

On Debian you can apt install certbot and it's just a regular Debian package with Python files inside. Are you on Ubuntu? I know they've been pushing snaps for a while.

[–] anyhow2503@lemmy.world 1 points 2 years ago (1 children)

The certbot authors tried really hard at one point to make snap the only available distribution mechanism for their application and for some time the version that Fedora packaged would display some weird deprecation warning and urge you to use the snap version.

[–] dan@upvote.au 1 points 2 years ago

Ahh... That's weird. I've never tried Snap, but I think I'd use Docker before I use Snap.

This seems like free hate as you can use certbot without snap without any problems. Imagine stopping using Firefox because of the same reason for example

[–] drkt@feddit.dk 3 points 2 years ago

That's exactly the same reason I dropped certbot, haha

[–] d_k_bo@feddit.de 1 points 2 years ago

If you don't like snap, maybe you should try another distro instead (I went to fedora because I was annnoyed of snaps).