Hi All,
I have installed Vaultwarden in a LXC container on Proxmox.
The script from PVE Help script installed with auto signed certificate for https.
I want to move with real certificate as I need it for all my phones, tablets… only for home (no exposition on internet).
I installed in another LXC container Nginx Proxy Management.
I tried to disable auto signed certificates also, here a summary :
-
duckdns : I created an adress : mysiteduckdnsorg (not real adress) which is linked to the IP adress of my LXC container
-
Nginx Proxy Management :
a) I created a let’s encrypt via dns certificate
b) I created a proxy host :
- name domain = mysiteduckdnsorg
- schemes : htpps
- Forward Hostname / IP = IP adress of Vaultwarden LXC
- Forward port : the port of vaultwarden
- Options : I activated Cache Assets, Block Common Exploits, Websockets Support
- SSL : I activated Force SSL only
- Vaultwarden :
In /opt/vaulwarden/.env :
#ROCKET_TLS=‘{certs=“/opt/vaultwarden/XXXXX.pem”,key=“/opt/vaultwarden/XXXXXX.key”}’
DATA_FOLDER=/opt/vaultwarden/data
DATABASE_MAX_CONNS=10
WEB_VAULT_FOLDER=/opt/vaultwarden/web-vault
WEB_VAULT_ENABLED=true
DOMAIN=https://mysiteduckdnsorg
I disable Rocket_TLS row and I added DOMAIN row.
I relaunched the service (service vaultwarden restart).
I try the connexion with https://mysiteduckdnsorg and not successful. Same issue with direct IP address.
I have : Error code : SSL_ERROR_RX_RECORD_TOO_LONG
I miss a point and I looked some How to or video but I didn’t find my error.
Thanks for your help
Edit : I have Adguardhome and Unbound. I added ‘private-domain: “mysiteduckdnsorg”‘ in the config file of unbound and I define a local zone in unbound :
local-zone: “duckdns.” static
local-data: “mysite.duckdns. IN A IPADRESSofLXCVaultwarden”


