changing SSL keystore password in wasp.cfg
search cancel

changing SSL keystore password in wasp.cfg

book

Article ID: 374347

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I have manually changed the password for my wasp SSL keystore (wasp.keystore) using keytool and now I need to change the password encrypted into wasp.cfg to match.

How can I accomplish this?

Environment

wasp probe - any version
SSL keystore (HTTPS enabled)

Resolution

If you have manually changed the keystore password, you need to tell the wasp probe what the new password is.  The steps are as follows:

  1. Take a backup copy of wasp.keystore and save it in a safe location outside the wasp directory
  2. Using the probe utility vs. the wasp probe, execute the callback: ssl_reinitialize_keystore.  This callback takes a password - put in the password that is the correct password for the keystore.
  3. When you run this callback it will wipe out the existing wasp.keystore and create a new empty one with the given password, and it will also encrypt that password into the wasp.cfg
  4. Now you can delete the wasp.keystore that it created, and put your old one back in place, and the wasp.cfg will have the correct password now.