Is HSTS supported either by ALB or WAF?

0

I have a website that is behind ALB with WAF integration. Our vulnerability scan showed the following:

Website Does Not Implement HSTS Best Practices

Recommendation: Implement HTTP Strict Transport Security (HSTS) on your web server.

I could not find a HSTS setting anywhere in the ALB attribute section nor in the WAF rules set... Is that setting supported on ALB or WAF or does it need to be done directly on the backend server or if I put the ALB behind the CDN ( CloudFront )?

Your help is much appreciated. Thank You

2 個答案
2
已接受的答案

HSTS is specified on the Back-end, not on the ALB. Please refer to this post for more detail.

profile pictureAWS
專家
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
profile picture
專家
已審閱 1 個月前
profile picture
專家
已審閱 1 個月前
profile picture
專家
已審閱 1 個月前
1

Besides modifying ALB listener rules to redirect HTTP to HTTPS, and adding HSTS header, you can implement HSTS with CloudFront.

Steps on CloudFront include

AWS
專家
Mike_L
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南