Server: Understanding ssl_certificate_path directory mapping

Created on 28 Sep 2018  路  3Comments  路  Source: bitwarden/server

I'm struggling to understand something from the config.yml file:

# The actual certificate. (Required if using SSL without managed Let's Encrypt)
# Note: Path uses the container's ssl directory. The `./ssl` host directory is mapped to
# `/etc/ssl` within the container.
ssl_certificate_path: /etc/ssl/self/domain/cert.pem

I can't figure out where this would be mapped to. If the bwdata directory is under /root/ for example, what's the path to the certificate (/root/bwdata/ssl/self/domain/cert.pem) that I would put into the config file?

Most helpful comment

do you guys make this thing as unintuitive as possible to discourage self-hosting? asking for a friend...

All 3 comments

The path is relative to the mapped volume in the container. So /etc/ssl/self/domain/cert.pem

Thank you! That's all I needed.

do you guys make this thing as unintuitive as possible to discourage self-hosting? asking for a friend...

Was this page helpful?
0 / 5 - 0 ratings