Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Caint logo. It's just text.
  1. Home
  2. Selfhosted
  3. If I use Caddy for reverse-proxying into another local machine... is my local connection not HTTPS?

If I use Caddy for reverse-proxying into another local machine... is my local connection not HTTPS?

Scheduled Pinned Locked Moved Selfhosted
selfhosted
8 Posts 5 Posters 13 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U This user is from outside of this forum
    U This user is from outside of this forum
    unknowing8343@discuss.tchncs.de
    wrote last edited by
    #1

    Mind that I am very noob into self-hosting, reverse proxies and the like

    When I saw that Caddy automatically handled the HTTPS thingies I was like “this is my moment then to go into self-hosting”. Caddy seemed so simple.

    Turns out… I am suddenly discovering that the connection between the caddy machine and the Home Assistant machine (both in the local network) is non-encrypted. So if another appliance in my local network went rogue… bum, all my info gets leaked… right?

    This might sound weird because it might actually be super-duper complicated but… how come in 2025 we still don’t auto-encrypt local comms?

    Please be kind. Lot’s of love. Hopefully I’ll dig my way to self-hosting wisdom.

    J irotsomaI A 3 Replies Last reply
    18
    • U unknowing8343@discuss.tchncs.de

      Mind that I am very noob into self-hosting, reverse proxies and the like

      When I saw that Caddy automatically handled the HTTPS thingies I was like “this is my moment then to go into self-hosting”. Caddy seemed so simple.

      Turns out… I am suddenly discovering that the connection between the caddy machine and the Home Assistant machine (both in the local network) is non-encrypted. So if another appliance in my local network went rogue… bum, all my info gets leaked… right?

      This might sound weird because it might actually be super-duper complicated but… how come in 2025 we still don’t auto-encrypt local comms?

      Please be kind. Lot’s of love. Hopefully I’ll dig my way to self-hosting wisdom.

      J This user is from outside of this forum
      J This user is from outside of this forum
      johannes@lemmy.jhjacobs.nl
      wrote last edited by
      #2

      If you want everything on your local lan to have SSL, look into Step CA. Its not completely beginners friendly, but if you’re serious about selfhosting you will manage to set it up 🙂 Caddy works with it also, and their examples are very helpful.

      N 1 Reply Last reply
      0
      • J johannes@lemmy.jhjacobs.nl

        If you want everything on your local lan to have SSL, look into Step CA. Its not completely beginners friendly, but if you’re serious about selfhosting you will manage to set it up 🙂 Caddy works with it also, and their examples are very helpful.

        N This user is from outside of this forum
        N This user is from outside of this forum
        n0x0n@lemmy.ml
        wrote last edited by
        #3

        Or simply create your rootCA, IntermediateCA, keys and certifictes with openSSL.

        Neither of those are begginer friendly but openSSL is probably a bit easier to get started. There’s a nice book with openSSL (if you are interested I migh look how it’s called) and the last chapter is all about how to create your mini-CA and everthing else to serve your proxy with valid certificates for your homelab.

        J 1 Reply Last reply
        1
        • N n0x0n@lemmy.ml

          Or simply create your rootCA, IntermediateCA, keys and certifictes with openSSL.

          Neither of those are begginer friendly but openSSL is probably a bit easier to get started. There’s a nice book with openSSL (if you are interested I migh look how it’s called) and the last chapter is all about how to create your mini-CA and everthing else to serve your proxy with valid certificates for your homelab.

          J This user is from outside of this forum
          J This user is from outside of this forum
          johannes@lemmy.jhjacobs.nl
          wrote last edited by
          #4

          The reason i chose Step CA over openSSL is because with step CA you can automate certificate renewal without any manual intervention. I don’t know how that would work with openSSL except some heavy scripting?

          N 1 Reply Last reply
          1
          • U unknowing8343@discuss.tchncs.de

            Mind that I am very noob into self-hosting, reverse proxies and the like

            When I saw that Caddy automatically handled the HTTPS thingies I was like “this is my moment then to go into self-hosting”. Caddy seemed so simple.

            Turns out… I am suddenly discovering that the connection between the caddy machine and the Home Assistant machine (both in the local network) is non-encrypted. So if another appliance in my local network went rogue… bum, all my info gets leaked… right?

            This might sound weird because it might actually be super-duper complicated but… how come in 2025 we still don’t auto-encrypt local comms?

            Please be kind. Lot’s of love. Hopefully I’ll dig my way to self-hosting wisdom.

            irotsomaI This user is from outside of this forum
            irotsomaI This user is from outside of this forum
            irotsoma
            wrote last edited by
            #5

            Depends on what you want. You can have the application have an https certificate which could either be one issued my a globally trusted issuer or could just be a self issued certificate that caddy is configured to trust. And caddy can then add the globally trusted certificates from let’s encrypt or whatever. But that definitely requires extra steps. Just, how secure do you want to be?

            1 Reply Last reply
            0
            • J johannes@lemmy.jhjacobs.nl

              The reason i chose Step CA over openSSL is because with step CA you can automate certificate renewal without any manual intervention. I don’t know how that would work with openSSL except some heavy scripting?

              N This user is from outside of this forum
              N This user is from outside of this forum
              n0x0n@lemmy.ml
              wrote last edited by n0x0n@lemmy.ml
              #6

              Yeah thats correct !

              I Wouldn’t say heavy though (maybe I see it that way because I got a bit better with bash and the like :p) because you can make use of CRL to revoke your certificates and renew them very easily with your intermediate and ready to use config files.

              But yeah, there isn’t any automated way to manage certificates like Smallstep does 🙂

              J 1 Reply Last reply
              1
              • N n0x0n@lemmy.ml

                Yeah thats correct !

                I Wouldn’t say heavy though (maybe I see it that way because I got a bit better with bash and the like :p) because you can make use of CRL to revoke your certificates and renew them very easily with your intermediate and ready to use config files.

                But yeah, there isn’t any automated way to manage certificates like Smallstep does 🙂

                J This user is from outside of this forum
                J This user is from outside of this forum
                johannes@lemmy.jhjacobs.nl
                wrote last edited by
                #7

                You mentioned a book though… Now i’m curious 😉

                1 Reply Last reply
                0
                • U unknowing8343@discuss.tchncs.de

                  Mind that I am very noob into self-hosting, reverse proxies and the like

                  When I saw that Caddy automatically handled the HTTPS thingies I was like “this is my moment then to go into self-hosting”. Caddy seemed so simple.

                  Turns out… I am suddenly discovering that the connection between the caddy machine and the Home Assistant machine (both in the local network) is non-encrypted. So if another appliance in my local network went rogue… bum, all my info gets leaked… right?

                  This might sound weird because it might actually be super-duper complicated but… how come in 2025 we still don’t auto-encrypt local comms?

                  Please be kind. Lot’s of love. Hopefully I’ll dig my way to self-hosting wisdom.

                  A This user is from outside of this forum
                  A This user is from outside of this forum
                  auli@lemmy.ca
                  wrote last edited by
                  #8

                  Your choice I don’t encrpt local comms because it is all in machine. Go to proxy and proxy goes to another container but never leaves the machine but don’t see a reason to encrypt. Even HA in a seperate machine what are they going to see.

                  1 Reply Last reply
                  0

                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • All Topics
                  • Popular
                  • World
                  • Users
                  • Groups