- I use yunohost (in a lxc) behind a reverse proxy (also in a lxc),
- the hardware is a dedicated pc at home behind a livebox.
- I have proxmox doing dhcp with all containers.
Since the livebox is a little shitty, I can’t access my server through the URL if I’m at home behind the livebox. So I want to access yunohost sso through my local network so the livebox doesn’t bother me.
What I’m trying
Because I can’t access the sso with the local ip address of yunohost (see here), I have to use a local DNS.
I add this line
YunohostLocalIp domainUrl in
/etc/hosts of my personnal computeur. So now I can reach yunohost containeur without being stopped by the livebox BUT i have ssl issues.
Firefox want a ssl certificate because I have this option on the nginx configuration of the reverse proxy
add_header Strict-Transport-Security "max-age=31536000;". So I can’t add an exeption in firefox.
I think I just need to add a ssl certificate in the yunohost containeur manualy.
I tried to took the ssl certificate for my yunohostdomain in my reverse proxy and put it in the yunohost containeur
/etc/yunohost/certs/mydomain/ but it doesn’t word.
Any idee why ?
I think I have to make yunohost understand to use the certificates I give him but I don’t know how.