OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: hannesk71 on April 16, 2021, 12:43:24 PM

Title: HAProxy
Post by: hannesk71 on April 16, 2021, 12:43:24 PM
Hi,

I'm trying to configure the latest HAProxy

At this moment I have 2 subdomains configured:

aaa.xxx.yy
bbb.xxx.yy

Both of them have their own unique Let's encrypt certificate. The backend for HAProxy is the same Apache server, which by domain name serves the wanted webpages.

Now the situation is that when typing https://aaa.xxx.yy everything is fine and a proper webpage is shown.
when I type https://bbb.xxx.yy then an error message of wrong certificate (certificate of aaa.xxx.yy) is shown and after that the content of aaa.xxx.yy is displayed.

In frontend servers correct certificates and backends are chosen.

What I'm doing wrong?