Self Signed Certificate on local network - works with Chrome, Iphone and Android

I can confirm that this tutorial is still working with the latest versions of Bitwarden server and application. Thank you very much for that solution!

Please note the following:

openssl req -x509 -new -nodes -key server_rootCA.key -sha256 -days 3650 -out server_rootCA.pem
  • the days parameter should be 365 (not 3650) days maximum, otherwise chrome won’t accept it
openssl x509 -req -in server.csr -CA server_rootCA.pem -CAkey server_rootCA.key -CAcreateserial -out server.crt -days 3650 -sha256 -extfile v3.ext
  • it has to be “-x509” here (minus-sign is missind) and “req” without minus
  • days should again be 365 maximum

Make sure to edit your Bitwarden configuration file to point to the new certificates and keep in mind that the paths mentioned in this file are mapped into the docker-containers.