Remediation Steps
Follow the steps below to remediate this finding on Apache webserver.
Ensure mod_headers is enabled:
sudo a2enmod headersAdd to your HTTPS VirtualHost or apache2.conf:
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"Reload Apache:
sudo systemctl reload apache2