Authentication Manager, AM 8.3 and earlier, and their Web Tiers
HTTP Strict-Transport-Security (HSTS) is missing from Error responses, e.g. 404 in AM version 8.3 and earlier.
If you scan https://<AM_server_name>:7004 instead of a valid URL, like https://<AM_server_name>:7004/console-ims
The AM server returns a 404 page not found, but this Error page does not have HSTS enabled.
2. restart AM services, or reboot
rsaadmin@am83p:/opt/rsa/am/server/wrapper>
ls -l *Wrapper.conf
-r-------- 1 rsaadmin rsaadmin 7839 Mar 7 10:33 AdminServerWrapper.conf
-r-------- 1 rsaadmin rsaadmin 7635 Mar 7 11:08 BiztierServerWrapper.conf
-r-------- 1 rsaadmin rsaadmin 7565 Aug 22 2022 ConsoleServerWrapper.conf
-r-------- 1 rsaadmin rsaadmin 4657 Jun 18 2018 PrimaryReplicationWrapper.conf
-r-------- 1 rsaadmin rsaadmin 7133 Aug 22 2022 RadiusOCServerWrapper.conf
-r-------- 1 rsaadmin rsaadmin 4657 Dec 16 18:12 ReplicaReplicationWrapper.conf
- The resolution is to update to later versions of AM which have fixed all HSTS vulnerabilities
- This KB is available for historical purposes for manual fixes to very old and out-dated versions of AM. If you are running these versions of AM, you have many more problems than just HSTS
SSH into AM server, primary or replica, as rsaadmin
cd /opt/rsa/am/server/wrapper/
There are several *Wrapper.conf files here, list them out
ls -l *Wrapper.conf
<screen shot above in tasks>
you need to determine the last number used for wrapper.java.additional.<nn> and use the next higher number, so for example in the AdminServerWrapper.conf on my AM 8.6 primary the highest number is .51,
<screen shot 2>
so I need to add one more configuration parameter with .51, like this
wrapper.java.additional.52=-Dweblogic.http.headers.enableHSTS=true
so that it ends up looking like this
<screen shot 3>
The next configuration file is BiztierServerWrapper.conf, and the highest # on wrapper.java.additional is 48,
<screen shot 4>
so add the following line
wrapper.java.additional.49=-Dweblogic.http.headers.enableHSTS=true
and save, so that it looks like this.
<screen shot 5>
cd /opt/rsa/am/server
./rsaserv restart all
cd /opt/rsa/am/server/wrapper/
cp AdminServerWrapper.conf AdminServerWrapper.conf.original
When using vi editor, you can use your arrow keys to move within the file, and in this case arrow down to the bottom of the .conf file, then
<press> i for insert mode
use arrows to go to end of the existing line, press <enter> to create a blannk line, then paste in the configuration discussed above.
If you make a mistake in vi, and simply want to quit, remember these commands
<esc> escape key gets you out of [insert] mode] or any mode
: <colon> key on American keyboard brings up a : colon prompt
:q! = quit, no save
if you want to save, then enter
:wq
Related Articles
Why am I getting an "Access Denied" error when logging in to the RSA Community? 204Number of Views Why am I getting a "Failed to Log In" message when attempting to reset my MFA authenticator for my RSA account? 16Number of Views Why am I getting a "Registration Unsuccessful" message when registering a FIDO security key? 40Number of Views Why am I getting a "Failed to Log In" message when attempting to configure an MFA authenticator for my RSA account? 28Number of Views Where can I find my Partner Site ID if I am an RSA SecurWorld Partner? 94Number of Views
Trending Articles
How to recover the Application and AFX after an unexpected database failure in RSA Identity Governance & Lifecycle RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Release Notes for RSA Authentication Manager 8.8 RSA Release Notes: Cloud Access Service and RSA Authenticators RSA SecurID Software Token 5.0.2 for Windows Desktop displays message after reboot due to roaming profile: No token stor…