Changing Nolio RA Nexus Password

book

Article ID: 206523

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

I was just informed that the Sonatype Nexus account is still using the default password on our repo server and wanted to know how we can go about changing it.

Cause

Your organization's policies dictate that default passwords should be changed. 

Environment

Release : 6.6

Component : CA RELEASE AUTOMATION CORE

Resolution

Changing the password in Nexus would involve:

  1. Changing the password for the admin user in Nexus.
  2. Changing the password used by Nolio for accessing Nexus.
  3. Stop/Start Nolio management server services.


Changing the password for the admin user in Nexus

  1. Login to nexus. Default URL is: http(s)://nexusRepoServername:8080|8443/nexus
  2. Click on the drop down menu for the user (in the upper right corner) and select Profile.
  3. Click on the link/option for "Change Password"
  4. Provide the existing password, new password and click save/apply.
  5. Logout and Login to confirm the new password.

 

Changing the password used by Nolio for accessing Nexus

Note:
The steps for this are described in more detail here: https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/release-automation-nolio/6-6/administration/manage-the-nexus-repository.html

  1. Login to mgmt server and cd to the Nolio install directory.
  2. Run: ./scripts/encrypt_password.sh
  3. The previous command will generate an encrypted password. Copy the encrypted password.
  4. Create a backup of conf/nolio-repo.properties.
  5. Edit the conf/nolio-repo.properties file and change the password in that file to use the encrypted password generated/copied above.
  6. Save and close the updated conf/nolio-repo.properties file.

 

Stop/Start Nolio management server services

  1. Run: ./nolio_server.sh stop
  2. Run: ./nolio_server.sh start

 

You can validate whether or not the NAC has successfully connected to the Nexus repo. If it were using the wrong password then you would see messages like this every 30 seconds or so:

2021-01-13 15:42:59,795 [ActionsSyncTimer] ERROR (ActionPackConsole:1407) - Failed to connect to actions package's repository