Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Leo ( leo@lemmy.linuxuserspace.show )  to Technology · 3年前

Should Caddy and Traefik Replace Certbot?

www.eff.org

external-link
message-square
15
link
fedilink
  • cross-posted to:
  • news@lemmy.linuxuserspace.show
59
external-link

Should Caddy and Traefik Replace Certbot?

www.eff.org

Leo ( leo@lemmy.linuxuserspace.show )  to Technology · 3年前
message-square
15
link
fedilink
  • cross-posted to:
  • news@lemmy.linuxuserspace.show
Can free and open source software projects like Caddy and Traefik eventually replace EFF’s Certbot? Although Certbot continues to be developed, we think tools like these help offer a promising path forward in the further development of a secure and encrypted web. For some users, tools like these...
alert-triangle
You must log in or # to comment.
  • Rimu ( rimu@piefed.social ) 
    link
    fedilink
    arrow-up
    14
    ·
    3年前

    They both implement the ACME protocol internally, allowing them to integrate with services like Let’s Encrypt to automate regularly obtaining the certificates needed to offer HTTPS.

    I did not realise this. Very nice, I’ll be trying Caddy on my next server!

    • elvith ( elvith@feddit.de ) 
      link
      fedilink
      arrow-up
      9
      ·
      3年前

      My newest vps runs with Caddy. Works like a charm. The downside was, that I didn’t think of the automatic certificate deployment when I set everything up and it wouldn’t come up a first when I only wanted to connect locally to it, as it tried to get a certificate but the challenge failed because I hadn’t the firewall open yet. But besides that it was very smooth so far.

    • Kangie ( Kangie@lemmy.srcfiles.zip ) 
      link
      fedilink
      arrow-up
      7
      ·
      3年前

      I use Traefik for all of my containerised services. It’s fantastic.

      • dfyx ( dfyx@lemmy.helios42.de ) 
        link
        fedilink
        arrow-up
        3
        ·
        3年前

        You know what’s even better? You can point traefik to your own ACME-compatible CA (I use step-ca) to get certs for LAN-only services. And you can even configure per service which one it should use.

        • Lem453 ( Lem453@lemmy.ca ) 
          link
          fedilink
          arrow-up
          2
          ·
          3年前

          Is this better than using wildcard certificates?

          I have local only SSL via a wildcard *.local.domain.com

          Instructions here:

          https://youtu.be/liV3c9m_OX8

          • dfyx ( dfyx@lemmy.helios42.de ) 
            link
            fedilink
            arrow-up
            3
            ·
            3年前

            I think I set that up back when Let’s Encrypt didn’t offer wildcard certificates. In the end, it serves pretty much the same purpose.

  • iiGxC ( iiGxC@slrpnk.net ) 
    link
    fedilink
    arrow-up
    10
    ·
    3年前

    I’ve had pretty good experience with caddy, although some key aspects of documentation I found hard to find - namely, how to use it with docker compose and a custom build with other plugins like dns challenge and dynamic dns

    • gullmar ( gullmar@feddit.it ) 
      link
      fedilink
      arrow-up
      3
      ·
      3年前

      Personally, I followed the instructions to install Caddy with Docker Compose in the Nextcloud AIO reverse proxy documentation. Regarding building custom images, there are the instructions to build a custom Caddy image in a Dockerfile in the Docker Hub page.

      • iiGxC ( iiGxC@slrpnk.net ) 
        link
        fedilink
        arrow-up
        2
        ·
        3年前

        Yep, I think that’s what I found too. I set it up to use nextcloud aio as well, it just took me a while to find that docker page

    • Nis ( nis@feddit.dk ) 
      link
      fedilink
      arrow-up
      3
      ·
      3年前

      So… Did you find documentation about how to do that?

      • iiGxC ( iiGxC@slrpnk.net ) 
        link
        fedilink
        arrow-up
        1
        ·
        3年前

        Yes, but it was piece by piece as I went

    • jherazob ( jherazob@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      3年前

      I use this, it’s very much not perfect but works: https://github.com/lucaslorentz/caddy-docker-proxy

  • palarith ( palarith@aussie.zone ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    3年前

    I use cerbot, but not trusting enough to let it touch any conf files

    • Rekhyt ( Rekhyt@beehaw.org ) 
      link
      fedilink
      arrow-up
      3
      ·
      3年前

      Yeah, it just replaces the cert files and reload/restarts nginx for me. I don’t want it anywhere near my config files.

  • jarfil ( jarfil@beehaw.org ) 
    link
    fedilink
    arrow-up
    3
    ·
    3年前

    Isn’t Certbot like the “reference implementation” though?

    I’ve been using Traefik for several years now, but I think having a tool that allows troubleshooting the process step by step is also valuable.

Technology

technology

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !technology@beehaw.org

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:

  • Free and Open Source Software
  • Programming
  • Operating Systems

This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 270 users / day
  • 876 users / week
  • 2.22K users / month
  • 5.19K users / 6 months
  • 5.11K local subscribers
  • 43.6K subscribers
  • 6.4K Posts
  • 107K Comments
  • Modlog
  • mods:
  • Chris Remington ( remington@beehaw.org ) 
  • alyaza [they/she] ( alyaza@beehaw.org ) 
  • TheRtRevKaiser ( TheRtRevKaiser@beehaw.org ) 
  • gyrfalcon ( gyrfalcon@beehaw.org ) 
  • rs5th ( rs5th@beehaw.org ) 
  • coldredlight ( coldredlight@beehaw.org ) 
  • Leigh ( SemioticStandard@beehaw.org ) 
  • TheRtRevKaiser ( TheRtRevKaiser@kbin.social ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code