Update to Authentication Manager 8.6 (base, P1 or P2) with replacement console certificates causes RADIUS "Can't connect to" Authentication failures
2 years ago
Article Number
000067903
Applies To
Authentication Manager version 8.6, 8.6 p1 and 8.6 p2
Issue
If Authentication Manager, AM 8.5 or earlier is using replacment console certificates and is then updated or upgraded to AM ver. 8.6, RADIUS authentications will fail with "Can't connect to <AM_server_FQDN>" and (Connection refused) errors

AM 8.6 P3 has a fix for this.
AM 8.5 is not affected by this.

Workaround would be to revert console replacement certificate back to RSA self-signed certificate
 
Tasks
1. backup original radius-am-8.6.0.x.0.jar where .x = 0, 1 or 2
2. copy radius-am-8.6.0.2.0.jar to AM server
3. If necessary, i.e. you are not running AM 8.6 patch 2, rename radius-am-8.6.0.2.0.jar to your patch level, either 0, 1 or 2
4. verify there are two .jar file; radius-am-8.6.0.x.0.jar and radius-am-8.6.0.x.0.jar.BAK, where .x is your patch level; 0, 1 or 2
5. copy radius-am-8.6.0.x.0.jar to other RADIUS directories
6. make backup copy of config.xml
7. edit config.xml 
8. Delete 2 files; radius_connector.ini & securID_radius_connector.crt
9. restart the services
 
Resolution
1. backup original radius-am-8.6.0.x.0.jar where .x = 0, 1 or 2
 cd /opt/rsa/am/server/servers/biztier/tmp/_WL_user/am-app/cl8cne/APP-INF/lib
 cp radius-am-8.6.0.1.0.jar radius-am-8.6.0.1.0.jar.BAK

radius-am-8.6.0.2.0
 
2. copy radius-am-8.6.0.2.0.jar to AM server with SCP, put in /opt/rsa/am/server/servers/biztier/tmp/_WL_user/am-app/cl8cne/APP-INF/lib directory (step 1 directory)
 cp /tmp/radius-am-8.6.0.2.0.jar .

3. If necessary, i.e. you are not running AM 8.6 patch 2, rename radius-am-8.6.0.2.0.jar to your patch level, either 0, 1 or 2
 mv radius-am-8.6.0.2.0.jar radius-am-8.6.0.1.0.jar

4. verify there are two .jar file; radius-am-8.6.0.x.0.jar and radius-am-8.6.0.x.0.jar.BAK, where .x is your patch level; 0, 1 or 2

radius-am-8.6.0.x.0.jar_BAK

5. copy radius-am-8.6.0.x.0.jar to three other RADIUS directories
 cd /opt/rsa/am/server/servers/console/tmp/_WL_user/console-shared-library/6cyrqo/WEB-INF/lib
 cp /opt/rsa/am/server/servers/biztier/tmp/_WL_user/am-app/cl8cne/APP-INF/lib/radius-am-8.6.0.1.0.jar .

 cd /opt/rsa/am/server/servers/AdminServer/tmp/_WL_user/console-shared-library/8hkrcb/WEB-INF/lib
 cp /opt/rsa/am/server/servers/biztier/tmp/_WL_user/am-app/cl8cne/APP-INF/lib/radius-am-8.6.0.1.0.jar .

 cd /opt/rsa/am/server/servers/radiusoc/tmp/_WL_user/am-radius-app/n6rnym/APP-INF/lib
 cp /opt/rsa/am/server/servers/biztier/tmp/_WL_user/am-app/cl8cne/APP-INF/lib/radius-am-8.6.0.1.0.jar .

6. make backup copy of config.xml
 cd /opt/rsa/am/server/config
 cp config.xml config.xml.BAK

7. edit config.xml and make change to the config.xml file and
   Search for this section:
    <name>AuthnRadiusServiceHttpsChannel</name>
  Delete the following one lines in that section and save the file
       <channel-identity-customized>true</channel-identity-customized>

   Change the server_identity_key_webserver to server_identity_key for this line                           <custom-private-key-alias>server_identity_key_webserver</custom-private-key-alias>

Note: vi editor commands, use arrows to move up, down, left, right
i = insert mode, enter text where cursor is, backspace will delete back
<esc> to exit insert or other mode
d = delete mode, move cursor to highlight what to delete
dd = delete whole line
slash /   to search or find
<esc> to get back to text
: colon means document command
;wq    =  write (save) and quit (exit vi)
:q!    = quit (exit vi) without writing (saving) the changes.  

 cd /opt/rsa/am/server/config
 vi config.xml
vi_config.xml
Use 'slash' / to search for string
   /<name>AuthnRadiusServiceHttpsChannel</name>
vi_config_xml_search
then delete the line 3-4 lines below it, delete the line with '<channel-identity-customized>true</channel-identity-customized>'
vi_config_xml_delete_line

Finally    Change the server_identity_key_webserver to server_identity_key for this line                      
    <custom-private-key-alias>server_identity_key_webserver</custom-private-key-alias>
vi_config_xml_server_identity_key insert mode to delete
then backspace to delete '_webserver' leaving only 'server_identity_key'
vi_config_xml_server_identity_key2

;wq    =  write (save) and quit (exit vi)
:q!    = quit (exit vi) without writing (saving) the changes.  

8. Delete 2 files; radius_connector.ini & securID_radius_connector.crt
  cd  /opt/rsa/am/radius
   rm  /opt/rsa/am/radius/radius_connector.ini
   rm  /opt/rsa/am/radius/securID_radius_connector.crt

9. restart the services
 cd /opt/rsa/am/server
./rsaserv restart all