HTTP Strict Transport Security
HTTP Strict Transport Security (HSTS)は、プロトコルダウングレード攻撃やクッキーハイジャックなどの中間者攻撃からWebサイトを保護するのに役立つポリシーメカニズムです。
On SUSE Multi-Linux Manager, HSTS is enabled by default. If you need to disable it on the server, follow this procedure:
On the server container host, as root, execute the following command to create a new configuration file with setting
max-age=0:mgrctl exec -- \ echo 'Header always set Strict-Transport-Security "max-age=0; includeSubDomains"' \ > /etc/apache2/conf.d/zz-spacewalk-www-hsts.conf次のコマンドでApacheを再起動します。
mgrctl exec -- systemctl restart apache2
If you need to disable it on the proxy, follow this procedure:
On the server container host, as root, execute the following command to create a new configuration file with setting
max-age=0:echo 'Header always set Strict-Transport-Security "max-age=0; includeSubDomains' \ > /etc/uyuni/custom-httpd.confRun the command:
mgrpxy install podman --tuning-httpd /etc/uyuni/custom-httpd.conf config.tar.gz
|
新しい設定ファイルに |
|
SUSE Multi-Linux Managerで生成されたデフォルトのSSL証明書または自己署名証明書を使用してHSTSを有効にすると、このような証明書に署名するために使用されたCAがブラウザによって信頼されていない限り、ブラウザはHTTPSでの接続を拒否します。 SUSE Multi-Linux Managerで生成されたSSL証明書を使用している場合は、 |