Imo it’s quite nice to not have a public domain like cloud.example.com which is much longer and all the gold ones are taken anyway.

Putting these local ones in my dns server is no issue, but getting https to work seems like a pain. I set up caddy to use its own certificate authority, but even when installing the root certificate to windows, many programs still don’t truth it and most of them don’t show a useful error message. Additionally getting them to trust the certificate is fiddely and then try to explain that to your mom so she can use my cloud.

All this makes me thing about switching back to public subdomains so I can get lets encrypt certificates

  • zelifcam@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    26
    ·
    9 days ago

    Many years ago I settled on a real domain using reverse proxies / dns overrides so that local and remote work the same. Workflow has been working for well over a decade.

  • barnacles@lemmy.zip
    link
    fedilink
    English
    arrow-up
    24
    ·
    9 days ago

    As far as I’m aware, the only “local” domains are the ones reserved in the RFC, e.g. home.arpa

    Everything else is just a public domain you don’t own, or not a domain. Using a domain that you don’t have authority over carries risks, even if you think you’ve kept everything local. Just use a real domain that belongs to you.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    The certificate problem that you are running into is the same one I ran into and why I got a domain.

    Now I have Traefik get a wildcard cert from LE and no more issues.

    I don’t have anything publicly accessible so my public DNS record points to an IP on my lan.

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    I have my own domain with a cert so it is (service).reannlegge.ca in caddy, I don’t really let many of my things out onto the web without the VPN but it is nice having the https and not having to see the this site may not be secure for almost everything I do.

  • cow@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 days ago

    I use .internal, setup a self-hosted certificate authority providing ACME to servers. The certificate is set to only be valid on .internal domains and not the entire internet and enrolled on my phone and computers.

    • fuckoffplzkthx@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 days ago

      I’ve never liked this approach - having to enroll certs on every machine always seemed tedious and it’s why I just “dealt with” having HTTPS errors internally for years.

      Honest question, why not set up a reverse proxy that uses Let’s Encrypt? It will handle internal domains if configured appropriately, and then you only have to configure at the proxy and DNS level.

      • cow@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 days ago

        I’ve never liked this approach - having to enroll certs on every machine always seemed tedious and it’s why I just “dealt with” having HTTPS errors internally for years.

        You only have to do it once per machine and I use NixOS a lot so its easy to just add to a module imported by every system. On other Linux systems it’s just putting the pem file somewhere in /etc/ and running a command to reload it. Android cell phones were pretty easy but I forget the exact details.

        Honest question, why not set up a reverse proxy that uses Let’s Encrypt?

        I have multiple of those for public services. Because I don’t want to expose every service to the internet for HTTP-01 and can’t use DNS-01 due to how my nameservers are set up, this makes sense. Other advantages are not needing to distribute DNS update keys to every single server for security reasons and having shorter domains.

  • neidu4@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 days ago

    Nah. Proper domain or no domain. It doesn’t take much to have your home network be, for example, home.hdhdhdgsg.cum

  • boudica@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 days ago

    x.home.arpa was made for this situation. I’ve been able to use caddy’s certificate with no issues.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 days ago

    Using self signed as a route that it’s not going to work after you factor in service specific apps that refuse your self signed certs, phones where installing those certs is a pain, and the overall WAF where installing those certs might just put off family users.

    Add in the mix the new Android 17 fucking “feature” where apps need special permissions to access the local network … (Yeah, Dav5x, home assistant, even Firefox stopped working on my on Android until I figured this out after upgrading to 17). I will write a post on this topic later on today.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      Self signed also makes it easy for someone to compromise https on your network

      If you need to use a self sign certificate make sure to add name restrictions in the root so that it can’t be used for public domains

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 days ago

    You don’t have to own a domain. As long as you can satisfy a challenge, such as by publishing a web page under the domain for the HTTP-01 challenge, you can still get certs.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      I would recommend DNS verification instead

      You can setup a single device to pull the cert and then use a script to automatically copy it to the destination via SSH

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 days ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    CA (SSL) Certificate Authority
    DNS Domain Name Service/System
    ESPA EELV Secondary Payload Adapter standard for attaching to a second stage
    ISP Internet Service Provider
    SSH Secure Shell for remote terminal access
    TLS Transport Layer Security, supersedes SSL
    VPN Virtual Private Network

    [Thread #172 for this comm, first seen 20th Nov 2026, 08:00] [FAQ] [Full list] [Contact] [Source code]