# Change Keystore and Private Key passwords

In case of HTTPS deployment of <code class="expression">space.vars.SITENAME</code>, if the user wants to change the existing keystore or private key passwords for <code class="expression">space.vars.SITENAME</code> certificate, this utility can be used to change and update the encrypted passwords in <code class="expression">space.vars.SITENAME</code> application.

Follow the steps given below for updating the encrypted keystore and private key passwords in <code class="expression">space.vars.SITENAME</code>:

* Stop OpsHub Server Service before execution of this utility.
* Navigate to `<code class="expression">space.vars.SITENAME</code> Installation Folder>/Other_Resources/Resources`.
* Unzip `"OpsHub Keystore Password Encryptor Utility.zip"`.
* Run `KeystorePasswordEncryptorUtility.bat` for Windows system. In case of Linux system, run `KeystorePasswordEncryptorUtility.sh`.
* Enter the path for OpsHub Installation Directory.

<div align="center"><img src="https://818964384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5eA7qMDBFu0HHHMDehi%2Fuploads%2Fgit-blob-73b06b0e775207d58ceb60c6d1ce31896000ec68%2FUpdate_Keystore_Password_Image1.png?alt=media" alt="" width="1400"></div>

* Enter the keystore password.

<div align="center"><img src="https://818964384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5eA7qMDBFu0HHHMDehi%2Fuploads%2Fgit-blob-9acd80a3b191ffc4c1b15fcae3f2a0748f18a816%2FUpdate_Keystore_Password_Image2.png?alt=media" alt="" width="1400"></div>

* Enter the private key password.

<div align="center"><img src="https://818964384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5eA7qMDBFu0HHHMDehi%2Fuploads%2Fgit-blob-f409567529afa31a455fee4c81fd11e1b0da2a6a%2FUpdate_Keystore_Password_Image3.png?alt=media" alt="" width="1400"></div>

*If the private key input is not entered in the above step, then user will get the notification mentioned in the screenshot below. In this case, the private key password will be considered same as keystore password.*

<div align="center"><img src="https://818964384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5eA7qMDBFu0HHHMDehi%2Fuploads%2Fgit-blob-fe47860e018dfecfe2ecc94db46f87223114d445%2FUpdate_Keystore_Password_Image4.png?alt=media" alt="" width="1400"></div>

* It will update keystore and private key passwords in OpsHub application in the encrypted format.

<div align="center"><img src="https://818964384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5eA7qMDBFu0HHHMDehi%2Fuploads%2Fgit-blob-7bbdb2755df0ab30624a71203f0b88e9b7c71815%2FUpdate_Keystore_Password_Image5.png?alt=media" alt="" width="1400"></div>
