OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: Syon on March 12, 2023, 12:41:21 PM

Title: Suricata and HAProxy
Post by: Syon on March 12, 2023, 12:41:21 PM
I'm running a HAProxy with a wildcard Let's Encrypt Certificate. From OPNsense to the Server is the traffic also encrypted with Let's Encrypt Certificates. Is Suricata able to inspect this traffic? It is listening to the intern Interface, but there should be only encrypted traffic?
Title: Re: Suricata and HAProxy
Post by: cookiemonster on March 12, 2023, 11:26:19 PM
Suricata can't decrypt TLS traffic by itself. If you want it to scan it, you need to terminate the TLS connection at haproxy and send the traffic unencrypted to the internal server.
Title: Re: Suricata and HAProxy
Post by: Syon on March 13, 2023, 12:48:42 PM
Yes, I thought, that decrypt and encrypt on the OPNsense would do the trick.... But therefor it had to inspect an interface X between the processes...