Admin Panel displays "Unable to fetch installed version" when SSL is enabled
Self-host installation scripts issue
- [x] I understand this repository only tracks self-host installation scripts and any other issues should be reported in bitwarden/server
Steps To Reproduce
When Bitwarden Lite is configured to use SSL with a provided certificate and key, the Admin Portal fails to display the current software version. Under the Version header, the field Web Installed displays the error message: "Unable to fetch installed version".
- Configure a Bitwarden Lite instance with SSL enabled.
- Open a web browser and navigate to the Admin Panel URL (e.g.,
https://yourdomain.com/admin). - Log in using the administrative email and secure link/password.
- Once the Dashboard loads, observe the Version section in the main view.
Expected Result
The Admin Panel should successfully retrieve and display the current software version string (e.g., 2025.12.1) under the Version header. This is achieved by the backend successfully parsing the /version.json file and returning a 200 OK status for the /admin/home/getinstalledwebversion request, regardless of whether SSL is enabled.
Actual Result
The system fails to display the current software version within the Admin Panel, showing the message "Unable to fetch installed version" under the Version header.
Upon inspecting the browser’s Network tab, the background request to the endpoint /admin/home/getinstalledwebversion results in an Internal Server Error 500. This suggests that the issue is not merely a UI display error or a client-side block, but a server-side exception occurring when the Admin service attempts to validate its own version metadata while running under SSL.
Screenshots or Videos
No response
Additional Context
No response
Build Version
2025.12.1
Environment
Self-Hosted
Environment Details
- Operating system: Ubuntu 24.04 LTS
- Environment: Docker v29.1.3, Compose v5.0.0
Issue Tracking Info
- [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.