SSL Errors when setting up local VaultWarden with Rocket #906

Closed
opened 2025-10-09 16:56:33 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @scepterus on GitHub.

Subject of the issue

I'm trying to self-host without a public certificate, by using the Rocket service and self-signed certificates.
I tried asking on the forum for help, but no one seems to know what is wrong. I set up everything according to the guide, however when I start the container I get:
Rocket has launched from http://0.0.0.0:80
but when trying to access the ip with https I get:
ERR_SSL_PROTOCOL_ERROR when I curl the link I get:
curl: (35) OpenSSL/1.1.1s: error:1408F10B:SSL routines:ssl3_get_record:wrong version number

Deployment environment

/--------------------------------------------------------------------
| Starting Vaultwarden |

Version 1.27.0
This is an unofficial Bitwarden implementation, DO NOT use the
official channels to report bugs/features, regardless of client.
Send usage/configuration questions or feature requests to:
https://vaultwarden.discourse.group/
Report suspected bugs/issues in the software itself at:
https://github.com/dani-garcia/vaultwarden/issues/new
--------------------------------------------------------------------/
[INFO] No .env file found.
[2023-02-21 16:27:11.092][start][INFO] Rocket has launched from http://0.0.0.0:80
that's as far as I can get.

I started it from Docker with latest tag, via Portainer.

  • Install method:

  • Clients used: Chrome extension and android client

  • Other relevant details:

Steps to reproduce

just follow the guide on the wiki for self-signed, only use docker compose instead of run command.

Expected behaviour

I should reach the site on https and start setting up the server for use.

Actual behaviour

When trying to access the server on HTTPS, I get blocked by SSL errors.

Troubleshooting data

No logs yet, since haven't even set up the server beyond launch.

Originally created by @scepterus on GitHub. <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Subject of the issue I'm trying to self-host without a public certificate, by using the Rocket service and self-signed certificates. I tried asking on the forum for help, but no one seems to know what is wrong. I set up everything according to the guide, however when I start the container I get: `Rocket has launched from http://0.0.0.0:80` but when trying to access the ip with https I get: `ERR_SSL_PROTOCOL_ERROR` when I curl the link I get: `curl: (35) OpenSSL/1.1.1s: error:1408F10B:SSL routines:ssl3_get_record:wrong version number` ### Deployment environment /--------------------------------------------------------------------\ | Starting Vaultwarden | | Version 1.27.0 | |--------------------------------------------------------------------| | This is an *unofficial* Bitwarden implementation, DO NOT use the | | official channels to report bugs/features, regardless of client. | | Send usage/configuration questions or feature requests to: | | https://vaultwarden.discourse.group/ | | Report suspected bugs/issues in the software itself at: | | https://github.com/dani-garcia/vaultwarden/issues/new | \--------------------------------------------------------------------/ [INFO] No .env file found. [2023-02-21 16:27:11.092][start][INFO] Rocket has launched from http://0.0.0.0:80 that's as far as I can get. I started it from Docker with latest tag, via Portainer. * Install method: * Clients used: Chrome extension and android client * Other relevant details: ### Steps to reproduce just follow the guide on the wiki for self-signed, only use docker compose instead of run command. ### Expected behaviour I should reach the site on https and start setting up the server for use. ### Actual behaviour When trying to access the server on HTTPS, I get blocked by SSL errors. ### Troubleshooting data No logs yet, since haven't even set up the server beyond launch.
Author
Owner

@stefan0xC commented on GitHub:

I've answered in your original forum post. Problem is the same that you have not configured the ROCKET_TLS environment variable.

@stefan0xC commented on GitHub: I've answered in your original [forum post](https://vaultwarden.discourse.group/t/vaultwarden-with-rocket-gets-ssl-errors/2364/8?u=stefan0xc). Problem is the same that you have not configured the `ROCKET_TLS` environment variable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#906