I'm building an web application that must use TLS end-to-end. I have viewed the Sophos AWS Demo 1 ~ 3 which were very helpful to get started. However, the example was only for HTTP.
When I try accessing my site with HTTPS I'm getting "403 Forbidden - You don't have permission to access / on this server."
I'm using the BASIC firewall profile and tried un-checking everything (common threats filter, cookie signing, etc.) but no joy.
This is the error in the WAF log:
[HTML]2015:08:11-15:17:52 fw-virginia-1b reverseproxy: [Tue Aug 11 15:17:52.621311 2015] [url_hardening:error] [pid 24639:tid 4089793392] [client x.x.x.254:56957] Hostname in HTTP request (x.x.x.142) does not match the server name (fw-virginia-1b)
2015:08:11-15:17:52 fw-virginia-1b reverseproxy: id="0299" srcip="x.x.x.254" localip="172.16.0.5" size="209" user="-" host="x.x.x.254" method="GET" statuscode="403" reason="-" extra="-" exceptions="-" time="3424" url="/" server="fw-virginia-1b" referer="-" cookie="SID=GIKNLWhFIJsBCZKktTdJ" set-cookie="-"[/HTML]
I have "static URL hardening" unchecked in the basic firewall profile; I also changed the mode to "monitor" but still the same error.
I'm assuming it has something to do with my EV SSL certificate on my web server.
So my question is how do I properly configure for an HTTPS only website? Please see the diagram below of the basic architecture on AWS. Note that the CSR generated for my EV Cert was done on the NGINX server.
This thread was automatically locked due to age.