Container on QNAP and SSL #2691

Closed
opened 2026-04-06 03:55:23 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pagogc on 12/5/2020

I am trying to get bitwardenrs running on QNAP ContainerStation for local use only.

Just by creating the Docker-Container (your official docker Container from Hub) and setting:

  • Network Settings to Bridge and Static IP

i am getting the Container to run and can connect via HTTP://ipadress.

But from the web GUI, i cant progress, as all Account Creation from Browser is only allowed with secure Connection.
HTTPS connections to ip adress cant connect to the web gui.
IOS App from Bitwarden, connecting to http://[myIpAdress] seems to work, as i get into the Vault to create new Entrys.

=========================
So i tried to set up a SSL Certificate on my own, following your WIKI.
SSH'ed into QNAP, created all certs. via openssl following the WIKI, recreated the Container with ROCKET_TLS set.
Volume added to map host location to /ssl after reading Issue #465.

But as soon as i start, i cant connect to the webgui with domainname provided in cert.

HTTP://mydomainname.local in my browser (vivaldi) is responding with: ERR_EMPTY_RESPONSE
HTTPS://mydomainname.local is responding with: ERR_CONNECTION_REFUSED

To be sure that domainname gets resolved with the local ip adress, i've added a local dns record to my pi-hole container.
To be extra sure, i flushed all dns entries on windows, and pinged the domainname, getting the right ip adress and answers.
IOS App: Account Creation: Tasked failed.

Who can help me?

PS: Console output from bitwardenrs remains the same, with or without ROCKET_TLS... no errors, just info:
[2020-12-05 11:11:29.480][bitwarden_rs][INFO] JWT keys don't exist, checking if OpenSSL is available... OpenSSL 1.1.1d 10 Sep 2019 [2020-12-05 11:11:29.485][bitwarden_rs][INFO] OpenSSL detected, creating keys... Generating RSA private key, 2048 bit long modulus (2 primes)

Also addet certs to brower/windows
e: Added screenshots of configuration:
Screenshot 2020-12-05 041736
Screenshot 2020-12-05 041758

*Originally created by @pagogc on 12/5/2020* I am trying to get bitwardenrs running on QNAP ContainerStation for local use only. Just by creating the Docker-Container (your official docker Container from Hub) and setting: - Network Settings to Bridge and Static IP i am getting the Container to run and can connect via HTTP://ipadress. But from the web GUI, i cant progress, as all Account Creation from Browser is only allowed with secure Connection. HTTPS connections to ip adress cant connect to the web gui. IOS App from Bitwarden, connecting to http://[myIpAdress] seems to work, as i get into the Vault to create new Entrys. ========================= So i tried to set up a SSL Certificate on my own, following your WIKI. SSH'ed into QNAP, created all certs. via openssl following the WIKI, recreated the Container with ROCKET_TLS set. Volume added to map host location to /ssl after reading Issue #465. But as soon as i start, i cant connect to the webgui with domainname provided in cert. HTTP://mydomainname.local in my browser (vivaldi) is responding with: ERR_EMPTY_RESPONSE HTTPS://mydomainname.local is responding with: ERR_CONNECTION_REFUSED To be sure that domainname gets resolved with the local ip adress, i've added a local dns record to my pi-hole container. To be extra sure, i flushed all dns entries on windows, and pinged the domainname, getting the right ip adress and answers. IOS App: Account Creation: Tasked failed. Who can help me? PS: Console output from bitwardenrs remains the same, with or without ROCKET_TLS... no errors, just info: `[2020-12-05 11:11:29.480][bitwarden_rs][INFO] JWT keys don't exist, checking if OpenSSL is available... OpenSSL 1.1.1d 10 Sep 2019 [2020-12-05 11:11:29.485][bitwarden_rs][INFO] OpenSSL detected, creating keys... Generating RSA private key, 2048 bit long modulus (2 primes)` Also addet certs to brower/windows e: Added screenshots of configuration: <img width="603" alt="Screenshot 2020-12-05 041736" src="https://user-images.githubusercontent.com/6831150/101243282-583ec080-36ff-11eb-9e26-012838d2941e.png"> <img width="620" alt="Screenshot 2020-12-05 041758" src="https://user-images.githubusercontent.com/6831150/101243283-58d75700-36ff-11eb-8a8c-320db7eae69f.png">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#2691