OPNsense Forum

English Forums => General Discussion => Topic started by: newbee on August 15, 2021, 07:36:27 pm

Title: Opnsense HAProxy lets encrypt setup with SSL docker containers
Post by: newbee on August 15, 2021, 07:36:27 pm
Hi,

Thanks to @TheHellsite for his HAproxy setup. My reverse proxy with letsencrypt is setup. This is a different approach to what i am used to. Normally the local system manages the certificate. So how do we handle SSL on traefik docker containers? EG. My nextcloud is running but cert is invalid. I guess the same applies to other docker-compose.yml setup where many containers use acme letsencrypt to get certs.
Title: Re: Opnsense HAProxy lets encrypt setup with SSL docker containers
Post by: trogie on September 06, 2021, 08:32:19 pm
Did you have any success with the config? I have a docker php-fpm and nginx setup with a traefik in front too.
Title: Re: Opnsense HAProxy lets encrypt setup with SSL docker containers
Post by: sorano on September 06, 2021, 08:51:17 pm
It's simple. The solution is to use SSL passthrough for the connections that you dont want to terminate in HAProxy.
Title: Re: Opnsense HAProxy lets encrypt setup with SSL docker containers
Post by: trogie on August 13, 2022, 10:07:48 am
Pffff.... i have been breaking my head to find the config in opnsense...