I want to host a Vaultwarden (or Bitwarden if necessary) instance, but it keeps asking for a domain and a SSL certificate. I dont own a domain and dont want to enable port forwarding on my router to expose it to the outside.

Is it possible to host a instance only internally and access it via the IP or a domain set on my local DNS? How about SSL is it possible and/or necessary?

  • icedterminal@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    TLS.

    While technically you can use TLS with a self signed certificate, it creates additional problems with a public facing service. Only recommended for internal services.

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Other than having accept a self signed certificate, what’s the problem to using the ip address? Mine hasn’t changed in years.

      • icedterminal@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        15 hours ago

        Some self hosted services refuse to work if you use a self signed certificate with your public facing IP. They only allow self signed certificates when using one of the handful of private addresses.

        Some apps on mobile devices for the service you use won’t work unless a trusted certificate is used. A self signed certificate behind the scenes creates an error that isn’t handled and you can’t connect.

        You lose the ability to have a proxy in front to handle abuse so your server is spared the headache. You need a domain to do this.

        • interdimensionalmeme@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          That’s an ecosystem defect that you need a dns name paid subscription to use “institutionally sanctified” certificates.

          My stuff should be made to still work in the apocalypse when San Francisco and Silicon Valley are underwater radioactive craters.