Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Yay!

Yay!

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
homelabselfhostsysadminlife
16 Indlæg 8 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

    I know some of you are waiting for a blog post or gist on how I do it, but I first need to solve a few problems, mainly on how to get PocketID on a separate virtual network so that name resolution and connections work between the various containers on the same machine. Also: how to map the host CA certificates into the containers. If you know, how to do this with #podman please share, so that I can learn! Stay tuned 🙂

    #PocketID #SSO #SelfHost @homelab

    bmarinov@hachyderm.ioB This user is from outside of this forum
    bmarinov@hachyderm.ioB This user is from outside of this forum
    bmarinov@hachyderm.io
    wrote sidst redigeret af
    #6

    @jwildeboer
    Can you mount the host certs and shadow whatever is in the containers? Should work and reduce CA distribution to the hosts only.
    I am just (very slowly) rolling out Lego(CLI) + a push job to move LE certs around. Once this is done I'll be dealing with vault and the same problem.

    CA is kind of easy to fix on the incus system containers via terraform. Container apps I manage through lazy ansible and my plan was to do it by mounting the lab CA. On k8s we just roll out configmaps and mount them in the pods. Slightly tempted to redeploy kubernetes at home just for things like that ..
    @homelab

    jwildeboer@social.wildeboer.netJ 1 Reply Last reply
    0
    • bmarinov@hachyderm.ioB bmarinov@hachyderm.io

      @jwildeboer
      Can you mount the host certs and shadow whatever is in the containers? Should work and reduce CA distribution to the hosts only.
      I am just (very slowly) rolling out Lego(CLI) + a push job to move LE certs around. Once this is done I'll be dealing with vault and the same problem.

      CA is kind of easy to fix on the incus system containers via terraform. Container apps I manage through lazy ansible and my plan was to do it by mounting the lab CA. On k8s we just roll out configmaps and mount them in the pods. Slightly tempted to redeploy kubernetes at home just for things like that ..
      @homelab

      jwildeboer@social.wildeboer.netJ This user is from outside of this forum
      jwildeboer@social.wildeboer.netJ This user is from outside of this forum
      jwildeboer@social.wildeboer.net
      wrote sidst redigeret af
      #7

      @bmarinov Yes, I tried that. And also making sure with "setsebool -P container_read_certs 1" that SELinux stays happy. I also note that there seems to be a "--import-native-ca" flag in podman but I am not sure how to add that to a quadlet file. @homelab

      jwildeboer@social.wildeboer.netJ 1 Reply Last reply
      0
      • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

        @bmarinov Yes, I tried that. And also making sure with "setsebool -P container_read_certs 1" that SELinux stays happy. I also note that there seems to be a "--import-native-ca" flag in podman but I am not sure how to add that to a quadlet file. @homelab

        jwildeboer@social.wildeboer.netJ This user is from outside of this forum
        jwildeboer@social.wildeboer.netJ This user is from outside of this forum
        jwildeboer@social.wildeboer.net
        wrote sidst redigeret af
        #8

        @bmarinov What still seems to fail is name resolution. My immich-server container seems unable to get to my PocketID container using its hostname sos.homelab.jhw @homelab

        bmarinov@hachyderm.ioB 1 Reply Last reply
        0
        • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

          I know some of you are waiting for a blog post or gist on how I do it, but I first need to solve a few problems, mainly on how to get PocketID on a separate virtual network so that name resolution and connections work between the various containers on the same machine. Also: how to map the host CA certificates into the containers. If you know, how to do this with #podman please share, so that I can learn! Stay tuned 🙂

          #PocketID #SSO #SelfHost @homelab

          jwildeboer@social.wildeboer.netJ This user is from outside of this forum
          jwildeboer@social.wildeboer.netJ This user is from outside of this forum
          jwildeboer@social.wildeboer.net
          wrote sidst redigeret af
          #9

          And solved! After adding the correct mapping and environment variable to the immich-server quadlet file, I can now login to immich using a passkey via PocketID!

          #SSO #SelfHost @homelab

          ramonfincken@mastodon.socialR 1 Reply Last reply
          0
          • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

            And solved! After adding the correct mapping and environment variable to the immich-server quadlet file, I can now login to immich using a passkey via PocketID!

            #SSO #SelfHost @homelab

            ramonfincken@mastodon.socialR This user is from outside of this forum
            ramonfincken@mastodon.socialR This user is from outside of this forum
            ramonfincken@mastodon.social
            wrote sidst redigeret af
            #10

            @jwildeboer @homelab TLS by the way, but why not also blog this?

            jwildeboer@social.wildeboer.netJ 1 Reply Last reply
            0
            • ramonfincken@mastodon.socialR ramonfincken@mastodon.social

              @jwildeboer @homelab TLS by the way, but why not also blog this?

              jwildeboer@social.wildeboer.netJ This user is from outside of this forum
              jwildeboer@social.wildeboer.netJ This user is from outside of this forum
              jwildeboer@social.wildeboer.net
              wrote sidst redigeret af
              #11

              @ramonfincken See the post I made immediately before: https://social.wildeboer.net/@jwildeboer/117217341135131860 Now that it works and I understand why, I can start working on that blog post. I am just a slow human being and it's the weekend, so please allow me a few hours to get it all done 🙂 @homelab

              ramonfincken@mastodon.socialR 1 Reply Last reply
              0
              • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

                @ramonfincken See the post I made immediately before: https://social.wildeboer.net/@jwildeboer/117217341135131860 Now that it works and I understand why, I can start working on that blog post. I am just a slow human being and it's the weekend, so please allow me a few hours to get it all done 🙂 @homelab

                ramonfincken@mastodon.socialR This user is from outside of this forum
                ramonfincken@mastodon.socialR This user is from outside of this forum
                ramonfincken@mastodon.social
                wrote sidst redigeret af
                #12

                @jwildeboer @homelab super ! It will have more reach

                1 Reply Last reply
                0
                • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

                  Yay! PocketID [1] is up and running in my homelab. Runs as a quadlet service container under podman behind a nginx reverse proxy, with its own SSL cert, generated by my own CA. Passkeys in the #Homelab!

                  [1] https://pocket-id.org "The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys."

                  #Selfhost #SysAdminLife @homelab

                  anders@thoresson.socialA This user is from outside of this forum
                  anders@thoresson.socialA This user is from outside of this forum
                  anders@thoresson.social
                  wrote sidst redigeret af
                  #13

                  @jwildeboer I struggled for quite a while to get it up and running on my TrueNAS, but when I finally understood the concepts and got everything right it was a great addition.

                  1 Reply Last reply
                  0
                  • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

                    @bmarinov What still seems to fail is name resolution. My immich-server container seems unable to get to my PocketID container using its hostname sos.homelab.jhw @homelab

                    bmarinov@hachyderm.ioB This user is from outside of this forum
                    bmarinov@hachyderm.ioB This user is from outside of this forum
                    bmarinov@hachyderm.io
                    wrote sidst redigeret af
                    #14

                    @jwildeboer
                    I'm not sure im reading that right, but since I just spent a bit of time redoing DNS at home: having two DNS servers and DHCP in the mix I found out that hostnames do not resolve if I ask "the wrong one". Might just be the same thing or not at all, worth the toot.

                    So in the end I completely gave up on using hostnames, and instead im doing split horizon DNS and assigning one A/AAAA record e.g. <name>.host.my.tld for every metal or virtual machine. A bit more annoying to type but hey. Once I got my zones and authorative servers right all my problems went away.

                    @homelab

                    1 Reply Last reply
                    0
                    • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

                      Yay! PocketID [1] is up and running in my homelab. Runs as a quadlet service container under podman behind a nginx reverse proxy, with its own SSL cert, generated by my own CA. Passkeys in the #Homelab!

                      [1] https://pocket-id.org "The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys."

                      #Selfhost #SysAdminLife @homelab

                      inky@xn--y9azesw6bu.xn--y9a3aqI This user is from outside of this forum
                      inky@xn--y9azesw6bu.xn--y9a3aqI This user is from outside of this forum
                      inky@xn--y9azesw6bu.xn--y9a3aq
                      wrote sidst redigeret af
                      #15

                      @{jwildeboer@social.wildeboer.net} if we all used openid and rss/atom readers, we may have not needed protocols like diaspora or activity pub.

                      subscribe/read by rss/atom, comment with openid.

                      1 Reply Last reply
                      0
                      • jwildeboer@social.wildeboer.netJ jwildeboer@social.wildeboer.net

                        Yay! PocketID [1] is up and running in my homelab. Runs as a quadlet service container under podman behind a nginx reverse proxy, with its own SSL cert, generated by my own CA. Passkeys in the #Homelab!

                        [1] https://pocket-id.org "The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys."

                        #Selfhost #SysAdminLife @homelab

                        abulling@fedifreu.deA This user is from outside of this forum
                        abulling@fedifreu.deA This user is from outside of this forum
                        abulling@fedifreu.de
                        wrote sidst redigeret af
                        #16

                        @jwildeboer @homelab I also have #PocketID running in my homelab also with my own CA (#stepca) but using a #caddy reverse proxy.

                        If you also need/want SSH key provisioning (amongst other things) I can recommend #kanidm

                        It doesn't offer a fancy admin web interface like PocketID, though. There is a minimal one for users - for admins there is a powerful CLI.

                        https://kanidm.github.io/

                        1 Reply Last reply
                        1
                        0
                        • mjack@mastodon.bsd.cafeM mjack@mastodon.bsd.cafe shared this topic
                          mjack@mastodon.bsd.cafeM mjack@mastodon.bsd.cafe shared this topic
                        Svar
                        • Svar som emne
                        Login for at svare
                        • Ældste til nyeste
                        • Nyeste til ældste
                        • Most Votes


                        • Log ind

                        • Har du ikke en konto? Tilmeld

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        Graciously hosted by data.coop
                        • First post
                          Last post
                        0
                        • Hjem
                        • Seneste
                        • Etiketter
                        • Populære
                        • Verden
                        • Bruger
                        • Grupper