Trusting Certificates
If you're connecting with an application (such as Jira or Git) that is using a self-signed HTTPS certificate, you will need to add it to the Software Risk Manager Java trust store, as explained below.
Getting Software Risk Manager to Trust Your Third-party or Self-signed Certificate
Windows
- Open a command prompt in administrator mode.
- Change directory to the Software Risk Manager Java trust store:
cd <installation-directory>\Code Dx\java\bin
where the<installation-directory>
default isC:\Program Files\Software Risk Manager
. - Run
keytool -printcert -rfc -sslserver <server hostname:port> | keytool -importcert -keystore "../lib/security/cacerts" -storepass changeit -alias <name for your server> -noprompt
. Replace<server hostname:port>
and<name for your server>
with the appropriate information for your environment. - Restart the Software Risk Manager services.
Linux
- Open a terminal window.
- Change directory to the Software Risk Manager Java trust store:
cd <installation-directory>/java/bin
where the<installation-directory>
defaults are/opt/srm/
for Linux root and/home/srm/
for Linux non-root. - Import the key to the Software Risk Manager Java installation's
keystore:
- [root] use
./keytool -printcert -rfc -sslserver <server hostname:port> | sudo ./keytool -importcert -keystore "../lib/security/cacerts" -storepass changeit -alias <name for your server> -noprompt
. Replace<server hostname:port>
and<name for your server>
with the appropriate information for your environment. - [non-root] use
./keytool -printcert -rfc -sslserver <server hostname:port> | ./keytool -importcert -keystore "../lib/security/cacerts" -storepass changeit -alias <name for your server> -noprompt
. Replace<server hostname:port>
and<name for your server>
with the appropriate information for your environment.
- [root] use
- Restart the Software Risk Manager services.
Deleting a Certificate from the Trust Store
- Open a Windows command prompt in administrator mode or a terminal in Linux.
- Change the directory to the Software Risk Manager Java trust store:
cd <installation-directory>/java/bin
where the<installation-directory>
defaults areC:\Program Files\Software Risk Manager
on Windows;/opt/srm
for Linux root; and/home/srm/
for Linux non-root. Replace<name for your server>
with the appropriate information for your environment.- [Windows] use
keytool -delete <name for your server> -keystore ../lib/security/cacerts
. - [Linux root installation] use
sudo ./keytool -delete <name for your server> -keystore ../lib/security/cacerts
. - [Linux non-root installation] use
./keytool -delete <name for your server> -keystore ../lib/security/cacerts
.
- [Windows] use
- Restart the Software Risk Manager services.