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
      link
      English
      42 months 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.

      • @[email protected]
        link
        fedilink
        English
        12 months 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
          link
          English
          32 months 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.

          • @[email protected]
            link
            fedilink
            English
            12 months 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.

            • icedterminal
              link
              English
              12 months ago

              It’s an industry security standard. Not a defect. If you don’t agree with it, fork the software and modify it to suit your needs.

    • @[email protected]
      link
      fedilink
      English
      12 months ago

      It makes SSL certs insanely easy. $1 a year is worth it to me to not have to deal with self signed certs.