I have a nginx web server, Sophos XG and websites goes through cloudflare.
I am trying to configure the WAF so I tried 2 different things with the same result
One was to create the certificate as explained here https://community.sophos.com/sophos-xg-firewall/f/recommended-reads/129866/automated-certificate-renewals-with-waf-and-cloudflare
The problem is, with what certificate and key should I configure my nginx server? none?
Then I tried to generate the certificate in cloudflare I get the cert and the key and I upload both to Sophos and I use that in an application rule and and use the same cert and key in the nginx web server so the nginx is publising the web with that cert, and the traffic Sophos - Nginx is encrypted.
I don't have NAT rules or anything else related to this
The point is, does the WAF inspect the SSL traffic? does it decrypt the traffic and encrypt it again?
I run tests here, https://labs.cloudbric.com/wafer and I see the WAF is working and blocking attacks but it doesn't matter what cert I use, I mean if I use a cert different from what nginx is using the waf still works and block the attacks, so I guess is not decrypting the traffic in any case. How can I be sure is working as intended?
This thread was automatically locked due to age.