_prereqRHEL
You need to download certain certificates and add them to a depot location before you can create a patch catalog for RHEL 7.
- You can use a Proxy server for RHEL 7 patch catalog in TrueSight Server Automation. For details on the Proxy Server options, see Global-Configuration-parameter-list.
Note the limitations while creating filters for RHEL 7 in an online or offline catalog.
The CA chain for the RedHat site certificate must be imported before creating a Patch Catalog for any version of the Red Hat Enterprise Linux. If you have imported this certificate in previous versions of TrueSight Server Automation, ensure that you have re-imported the CA chain, if the Java Version is changed on the current version of TrueSight Server Automation.
See the following steps for downloading and importing the DER encoded binary X.509 (.CER) certificate file for the CA chain.
Downloading the certificate file
You must use your browser to download the required certificate from https://idp.redhat.com/idp/. While you can use any browser to download the certificates, we have provided steps for downloading using Internet Explorer as an example:
- Right-click the Internet Explorer icon and select Run As Administrator.

- Navigate to the Red Hat Customer Portal site (https://idp.redhat.com/idp/) and click the pad-lock icon
on the right of navigation bar.
- Click the View Certificates link, the Certificate Dialog box opens.
- Go to the Certification Path tab. Select each CA in the chain and perform the following actions

- Click on View Certificate
- On the Details tab, click the Copy to File button. The Certificate Export Wizard opens.
- Select DER encoded binary X.509 (.CER) and save the file with a .cer extension.
- Repeat step 4 for each CA certificate in the Chain.
Importing the certificates into the keystore
Depending on the operating system you are on, perform either of the following steps:
On Windows:
- Navigate to directory on which you have installed TrueSight Server Automation. The default directory is C:\Program Files\BMC Software\BladeLogic\appserver.
- Copy the Red Hat certificate file to the \NSH\jre\lib\security path inside the installation directory.
Navigate to the \NSH\jre\bin path inside the installation directory and execute the following command:
keytool.exe -import -alias <certificate name>
-file <installationDirectory>\NSH\jre\lib\security\redhat.cer
-keystore <installationDirectory>\NSH\jre\lib\security\cacertsNote that <installationDirectory> is the file path to the directory on which TrueSight Server Automation is installed and <certificate name> is an alias given to the ca. For example, in the screenshot above you might use 'comodorsaextendedvalidationsecureserverca2' and 'comodosecure'
- When prompted by the system for a password, enter changeit
- Run the command in 3 for each CA certificate in the chain.
- Restart the Application Server to import the certificate to TrueSight Server Automation.
On Linux:
Navigate to directory on which you have installed TrueSight Server Automation. The default directory is /opt/bmc/bladelogic/appserver.
- Copy the Red Hat certificate file to the /NSH/br/java/lib/security path inside the installation directory and <certificate name> is an alias given to the ca. For example, in the screenshot above you might use 'comodorsaextendedvalidationsecureserverca2' and 'comodosecure'
Navigate to the /NSH/br/java/bin path inside the installation directory and execute the following command:
keytool -import -alias <certificate name>
-file <installationDirectory>/NSH/br/java/lib/security/redhat.cer
-keystore <installationDirectory>/NSH/br/java/lib/security/cacertsNote that <installationDirectory> is the file path to the directory on which TrueSight Server Automation is installed.
- When prompted by the system for a password, enter changeit.
- Run the command in 3 for each CA certificate in the chain.
- Restart the Application Server to import the certificate to TrueSight Server Automation.
The CA chain for the RedHat site certificate must be imported before creating a Patch Catalog for any version of the Red Hat Enterprise Linux. If you have imported this certificate in previous versions of TrueSight Server Automation, ensure that you have re-imported the CA chain, if the Java Version is changed on the current version of TrueSight Server Automation.
See the following steps for downloading and importing the DER encoded binary X.509 (.CER) certificate file for the CA chain.
You must use your browser to download the required certificate from https://idp.redhat.com/idp/. While you can use any browser to download the certificates, we have provided steps for downloading using Internet Explorer as an example:
- Right-click the Internet Explorer icon and select Run As Administrator.

- Navigate to the Red Hat Customer Portal site (https://idp.redhat.com/idp/) and click the pad-lock icon
on the right of navigation bar.
- Click the View Certificates link, the Certificate Dialog box opens.
- Go to the Certification Path tab. Select each CA in the chain and perform the following actions

- Click on View Certificate
- On the Details tab, click the Copy to File button. The Certificate Export Wizard opens.
- Select DER encoded binary X.509 (.CER) and save the file with a .cer extension.
- Repeat step 4 for each CA certificate in the Chain.
Depending on the operating system you are on, perform either of the following steps:
On Windows:
- Navigate to directory on which you have installed TrueSight Server Automation. The default directory is C:\Program Files\BMC Software\BladeLogic\appserver.
- Copy the Red Hat certificate file to the \NSH\jre\lib\security path inside the installation directory.
Navigate to the \NSH\jre\bin path inside the installation directory and execute the following command:
keytool.exe -import -alias <certificate name>
-file <installationDirectory>\NSH\jre\lib\security\redhat.cer
-keystore <installationDirectory>\NSH\jre\lib\security\cacertsNote that <installationDirectory> is the file path to the directory on which TrueSight Server Automation is installed and <certificate name> is an alias given to the ca. For example, in the screenshot above you might use 'comodorsaextendedvalidationsecureserverca2' and 'comodosecure'
- When prompted by the system for a password, enter changeit
- Run the command in 3 for each CA certificate in the chain.
- Restart the Application Server to import the certificate to TrueSight Server Automation.
On Linux:
Navigate to directory on which you have installed TrueSight Server Automation. The default directory is /opt/bmc/bladelogic/appserver.
- Copy the Red Hat certificate file to the /NSH/br/java/lib/security path inside the installation directory and <certificate name> is an alias given to the ca. For example, in the screenshot above you might use 'comodorsaextendedvalidationsecureserverca2' and 'comodosecure'
Navigate to the /NSH/br/java/bin path inside the installation directory and execute the following command:
keytool -import -alias <certificate name>
-file <installationDirectory>/NSH/br/java/lib/security/redhat.cer
-keystore <installationDirectory>/NSH/br/java/lib/security/cacertsNote that <installationDirectory> is the file path to the directory on which TrueSight Server Automation is installed.
- When prompted by the system for a password, enter changeit.
- Run the command in 3 for each CA certificate in the chain.
- Restart the Application Server to import the certificate to TrueSight Server Automation.







