diff --git a/modules/ROOT/pages/server-configuration-hardening.adoc b/modules/ROOT/pages/server-configuration-hardening.adoc index 638ce2932..f6b35781d 100644 --- a/modules/ROOT/pages/server-configuration-hardening.adoc +++ b/modules/ROOT/pages/server-configuration-hardening.adoc @@ -28,10 +28,14 @@ Set the `WLP_OUTPUT_DIR` environment variable to point to the server logs with t * Ensure that any sensitive information in the `server.xml` file is AES-encrypted. * Disable all non-TLS ports by setting ports to the value of `-1` in the `httpPort` argument of the `httpEndpoint` stanza. * Use xref:reference:feature/transportSecurity-1.0.adoc[Transport Layer Security (TLS)] instead of SSL. -* Add the `webAppSecurity ssoRequiresSSL="true"` statement to the `server.xml` file. -* Add the `webAppSecurity httpOnlyCookies="true"` statement to the `server.xml` file. -* Add the `httpOptions removeServerHeader="true"` statement to the `server.xml` file. -* Add the `webContainer disableXPoweredBy="true"` statement to the `server.xml` file. + +Add the following declarations to your `server.xml` file: +[source,xml] +---- + + + +---- [#ol-images] == Open Liberty container images