[SOLVED] [ERROR] I/O error while setting tls.certs:

I’m getting the error: [ERROR] I/O error while setting tls.certs

docker run -d --name bitwarden -e ROCKET_TLS=’{certs="/ssl/bitwarden.crt",key="/ssl/bitwarden.key"}’ -v /ssl/:/ssl/ -v /bw-data/:/data/ -p 443:80 bitwardenrs/server:latest

I’m using custom certs generated from a pfsense cert authority. The cert/key are in the dir /bw-data/ssl/

At this point I’m not sure whats wrong. Also where do I put the cert chain?

Thanks!

If your certs and private key are in /bw-data/ssl/ on the Docker host, then you need -v /bw-data/ssl/:/ssl/. The cert chain goes in the certs file.

Thanks, ah ok! I’ll try that. Where does the server very go then?

Not sure what you’re asking…

Just realized my text auto corrected on mobile. I got it working, thanks!