• Dhs92
      link
      fedilink
      224 days ago

      Have you heard of our Lord and Savior, Traefik + ACME issuers?

      • Elvith Ma'for
        link
        fedilink
        64 days ago

        Does Trafik also allow DNS based challenges with additional certbot plugins, or does it only work by serving a challenge in /.well-known/?

        I’ve set up my internal homelab with LE certificates, but if I could get rid of certbot and do this automagically, it’d be nice…

        • Dhs92
          link
          fedilink
          74 days ago

          I have it setup to use DNS challenges through Cloudflare, but it supports different providers as well. I just add the labels to my docker container and voila, I have TLS

        • Rob Bos
          link
          fedilink
          English
          44 days ago

          Not all dns providers support acme, I’ve discovered to my recent annoyance. The one I use at work, for instance.

            • Rob Bos
              link
              fedilink
              English
              24 days ago

              Yeah. For wildcard DNS from letsencrypt, you can’t do HTTP validation, only DNS, which involves creating a TXT record.

              Your DNS provider needs to run an ACME server, which runs an API that’ll add the required TXT records on request.

              As I understand it.

              • Elvith Ma'for
                link
                fedilink
                13 days ago

                The DNS provider needs to provide an API, but not an ACME server.

                Your server contacts Lets Encrypt and wants a certificate - say for homeserver.example.com. It tells Let’s Encrypt to use DNS based authentication. Let’s encrypt answers with a challenge code, that you now publish as a txt record with a defined name via your providers API for this (sub)domain. Let’s encrypt then checks the TXT record and if it finds the challenge there, it sends you the certificate.

                • Rob Bos
                  link
                  fedilink
                  English
                  1
                  edit-2
                  2 days ago

                  Wouldn’t the authentication API provided by your DNS host be the ACME server?

  • @hark@lemmy.world
    link
    fedilink
    83 days ago

    Laying in bed thinking about the problem, “oh, that must be it!” Jump excitedly out of bed to work on the problem, “welp, that wasn’t it.”

  • @tahoe@lemmy.world
    link
    fedilink
    174 days ago

    I’ve been trying and failing to fix an email being sent to spam issue since last fucking Monday (with all the SPF, DMARC and DKIM garbage).

    I want to die.

    • @tetris11@lemmy.ml
      link
      fedilink
      144 days ago

      SPF, DMARC and DKIM

      Ironically, spam generators are experts EXPERTS in this trash fire of a topic

  • JATth
    link
    fedilink
    English
    34 days ago

    My favorite so far:

    $ gdb -ex 'file /bin/gdb'
    run
    corrupted double-linked list
    
    Thread 1 "gdb" received signal SIGABRT, Aborted.
    
  • @zqwzzle@lemmy.ca
    link
    fedilink
    English
    6
    edit-2
    4 days ago

    Reminder to all you chaos monkeys: use [Object object] on web forms occasionally for a bit of fun.

    Edit: and to remind typescript devs they’re just transpiling to JavaScript

  • luciole (he/him)
    link
    fedilink
    74 days ago

    Aw come on, debugging can be fun. I love the investigative vibe of it. You get to be your favorite detective. You start asking around. You pin the the culprit. You get closer and closer to damning evidence. And then Bam! Fixed. Another mystery solved. Mine’s Columbo.

    • @Sergio@slrpnk.net
      link
      fedilink
      54 days ago

      Agreed, for any non-trivial bug I just start dumping text into a word file to track what I’m doing. Like: error messages, values of variables at key places, libraries used, URLs of documentation and background reading and stackoverflow pages looked at, test fixes and their effects, etc. Then if someone asks me wtf I’ve been doing all day I can easily show them. Also, if I have the same problem a couple months later I can remind myself.

    • @pinball_wizard@lemmy.zip
      link
      fedilink
      74 days ago

      I love asking,

      “What sick fuck thought this was an acceptable solution?”

      And a few moments later:

      “Oh. It was me.”

  • @LovableSidekick@lemmy.world
    link
    fedilink
    English
    5
    edit-2
    4 days ago

    My friend just finished a couple solid days of debugging where there turned out to be a whole series of problems that looked like one bug, so even though he kept fixing things the app still kept not working. Finally hacked his way out of that jungle into the bright light of day.