Changing Nolio RA Nexus Password
search cancel

Changing Nolio RA Nexus Password

book

Article ID: 206523

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (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.

Environment

Release Automation 6.6, 6.7, 6.8

Cause

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

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:

Manage the Nexus Repository

  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