Hi@all,
++ Preface ++
please excuse the long preface I just wanted to describe in detail the situation so far. The actual question → see below.
So far I installed Letsencrypt on my pfSense because it was very simple and elegant. The PF updates everything automatically and HTTPS requests are received by the HA proxy and answered with a valid and trusted certificate.
At the ISP the corresponding subdomains are created which point to the WAN interface of the pfSense.
The external domain is: unseredomain.de, the local UCS network is: lan.unseredomain.de. The corresponding subdomains at the ISP are: [hostname].ourdomain.com.
HTTPS requests (from external) to: https://cloud.unseredomain.de are provided with a necessary certificate by the HA proxy and are routed to the internal host: https://cloud.lan.unseredomain.de.
To enable HTTPS access from the LAN, I configured a virtual network interface on the PF that listens on the LAN and is also integrated in the HA proxy. The HA proxy forwards HTTPS requests to https://cloud.unseredomain.de from the LAN to the internal host in the same way.
This is an elegant solution but it has one major drawback. All HTTPS requests from the LAN go through the pfSense. All the traffic! In case of groupware or web services this may be acceptable, but in case of streaming server (Jellyfin) this is a problem concerning bandwidth. Of course you could connect the internal clients directly to the internal hostname but this also brings problems because then no valid certificate is delivered and many applications have problems with self-signed certificates.
++ Question ++
Because of the above deficits I want to install Letsencrypt in the LAN. There is a corresponding app on the UCS systems. I wonder what is the best concept?
Besides various UCS systems there are other server VM’s (Ubuntu). All this server (VM’s) need a valid certificate and the renewal of the certificates should run automatically.
I have read that there are wildcard certificates. Would my project work with this? Is this supported by the UCS app? As far as I could find out in the forum there are still problems here.
If someone could give me some helpful words along the way I would be very grateful.
with best
sven