Using CLM applications with third-party Certification Authority certificates
You can use third-party certificates with BMC Cloud Lifecycle Management applications. A certificate authority, or certification authority, (CA) is an entity that issues digital certificates. The digital certificate certifies the ownership of a public key by the named subject of the certificate. This allows others (relying parties) to rely upon signatures or assertions made by the private key that corresponds to the public key that is certified.
Note
In general, perform the following steps for supporting third-party CA certificates:
- Use JRE keytool to create a private key and certificate sign-in request (CSR) and send the CSR to the signing authority. The signing authority returns the signed authority, along with the CA certificate.
- Use the keystore during product installation (for example, installing Cloud Portal Web Application).
- Configure the BMC Cloud Lifecycle Management products with the supporting CA certificates.
This topic contains the following information:
Video series – Using third-party certificates with the BMC CLM Self-Check Monitor
The videos in this section provides detailed conceptual information and step-by-step instructions on how to use third-party certificates to install and configure the BMC CLM Self-Check Monitor. You use essentially the same steps with Platform Manager or the Cloud Portal Web Application.
Tip
For easier viewing, start the video and then expand it in YouTube.
The following video (13:43) shows how to create third-party certificates:
The following video (8:05) shows how to install BMC CLM Self-Check Monitor with a third-party certificate:
The following video (12:00) shows how to configure BMC CLM Self-Check Monitor with a third-party certificate:
To create keystores, private and public keys, and certificates
This section creates a third-party certificate to use with the Cloud Portal Web Application. You use essentially the same steps with any BMC Cloud Lifecycle Management product.
Note
- Back up your VM or your file system before you start. If you make a mistake, you can revert to a saved snapshot and try again.
- Copy and paste the SSL commands into a text editor like Notepad++ or TextPad, strip out the line breaks, and modify the syntax for your environment.
Before you begin, install 64-bit Oracle JRE 1.7 for version 4.5 on the product host.
- From the command prompt, navigate to the directory where keytool is located.
Create the keystore and the private key (keystore.jks).
A keystore holds your private and public keys. When creating a Java keystore, you create the keystore.jks file that at first contains only the private key This example used changeit as the password.keytool -genkey -alias clmui -keyalg RSA -keystore C:\Keys\keystore.jks -keysize 2048 Enter keystore password: Re-enter new password: What is your first and last name? [Unknown]: vw-aus-clmidd09.bmc.com What is the name of your organizational unit? [Unknown]: BMC Software What is the name of your organization? [Unknown]: IDD What is the name of your City or Locality? [Unknown]: San Jose What is the name of your State or Province? [Unknown]: California What is the two-letter country code for this unit? [Unknown]: US Is CN=vw-aus-clmidd09.bmc.com, OU=BMC Software, O=IDD, L=San Jose, ST=California , C=US correct? [no]: yes Enter key password for <clmui> (RETURN if same as keystore password): Re-enter new password:
Create the certificate sign-in request (CSR).
This example used changeit as the password.keytool -certreq -alias clmui -file C:\CSR\clmui.csr -keystore C:\Keys\keystore.jks -sigalg SHA1withRSA Enter keystore password:
- Send the CSR file to a CA for signing using one of the following methods. CA returns a signed SSL certificate, for example, ssl_cert.cer.
- Have the CSR be signed by a commercial CA like Symantec. This process usually requires you to post the CSR into a web form, pay for the signing, and await the signed SSL certificate. For more information about commercial CAs, see:
- Symantec: http://digitalid.verisign.com/server
- CertiSign Certificadora Digital Ltd: http://www.certisign.com.br
- Uptime Commerce Ltd: http://www.uptimecommerce.com
- BelSign NV/SA: http://www.belsign.be
- Symantec: http://digitalid.verisign.com/server
- Use your own CA and get the CSR signed by this CA.
- Have the CSR be signed by a commercial CA like Symantec. This process usually requires you to post the CSR into a web form, pay for the signing, and await the signed SSL certificate. For more information about commercial CAs, see:
(optional) Download and import the Root CA certificate (for example, RootCA.cer) into the browser.
Trial versions of the Root CA certificate must be installed on each browser where you will test it. This step is not necessary with production certificates. For more information, see the Symantec documentation on using root certificates.Download and import the Root CA certificate (for example, RootCA.cer) on the product host.
Do not mismatch the Root and intermediate CA certificates – select the appropriate Intermediate CA certificate for your SSL Certificate type.keytool -import -trustcacerts -alias root -keystore "C:\Keys\keystore.jks" -file "C:\Certificates\RootCA.cer"
Download and import the intermediate certificate (for example, intermediate.cer) on the product host.
Do not mismatch the Root and intermediate CA certificates – select the appropriate Intermediate CA certificate for your SSL Certificate type.keytool -import -trustcacerts -alias Intermediate -keystore C:\Keys\keystore.jks -file C:\Certificates\intermediate.cer
For more information, see the Symantec documentation on using intermediate certificates.
Install the SSL certificate (for example, ssl_cert.cer) on the product host.
The alias name in this command must be the same as the alias name used during the generation of the private key and CSR, for example, clmui.keytool -import -alias clmui -keystore "C:\Keys\keystore.jks" -trustcacerts -file "C:\Certificates\ssl_cert.cer"
For more information, see the Symantec documentation on installing certificates on Tomcat.
Verify the contents of the keystore that the SSL certificate is imported into the alias with the "Entry Type" of PrivateKeyEntry or KeyEntry.
For example:keytool -list -v -keystore "C:\Keys\keystore.jks" > C:\Keys\output_filename.txt
To install products with third-party certificates
This section describes how to install Cloud Portal Web Application with a third-party certificate. You use essentially the same steps with Platform Manager or CLM Self-Check Monitor.
- Run the product installation (for example, the Platform Manager, CLM Self-Check Monitor, or Cloud Portal Web Application).
- At the Custom CA Certificate Configuration panel:
- Select YES.
- Enter the location of the third-party certificate and password.
- Continue with the installation.
To configure third-party certificates
This section describes how to configure a third-party certificate used with the Cloud Portal Web Application.
Note
After you install Platform Manager, Self-Check Monitor, or the Cloud Portal Web Application with the installer planner on HTTPS/SSL with Small or Medium deployments, configure the third-party certificates on the following products:
- Mid Tier
- Cloud Portal Web Application
- CLM Self-Check Monitor
- Cloud Portal and Database AR System server
- Atrium Orchestrator
- Copy the Platform Manager cacerts file to the product host.
Import the Platform Manager cacerts file into the SSL certificate.
Make sure the entries are successfully imported.keytool -importkeystore -srckeystore "C:\TEMP\cacerts" -destkeystore "C:\Keys\ssl_cert.cer" -srcstoretype JKS -deststoretype JKS -noprompt
Import the keystore (cacerts) certificate in the application cacerts.
Make sure that you understand which JRE your application used during installation. This example imports the keystore certificate into the cacerts of the external JRE used by the installer.keyTool -importkeystore -srckeystore "C:\TEMP\cacerts" -destkeystore "C:\Program Files\Java\jre7\lib\security\cacerts" -srcstoretype JKS -deststoretype JKS -srcstorepass changeit -deststorepass changeit -noprompt
On the other hand, this example imports the keystore certificate into the cacerts of the bundled JRE used by the Cloud Portal Web Application (clmui).
keytool -importkeystore -srckeystore "C:\TEMP\cacerts" -destkeystore "C:\Program Files\BMC Software\ CloudPortalWebApplication\jre\lib\security\cacerts" -srcstoretype JKS -deststoretype JKS -srcstorepass changeit -deststorepass changeit -noprompt
Configure the server.xml file (for example, C:\Program Files\BMC Software\CloudPortalWebApplication\tomcat\conf on the Cloud Portal Web Application host) to enable SSL in Tomcat by replacing the default keystore file (clmuiSslCertificate.cert) with the location of your third-party keystore file.
<Connector SSLEnabled="true" clientAuth="false" connectionTimeout="20000" keystoreFile="C:\Keys\keystore.jks" keystorePass="changeit" maxThreads="150" port="8443" scheme="https" secure="true" sslProtocol="TLS"/>
- Restart the product service, for example, BMC CSM Portal.
Download and install the SSL certificate into each browser you use to test your SSL certificate.
For more information, see the Symantec documentation on browser certificates.Tip
This example uses Google Chrome, because Chrome includes network tools (press F12) to troubleshoot connection problems with HTTPS.- Import the SSL certificate into the Trusted Root Certificate Authorities on your browser.
- When you are prompted to add the certificate to the root store, click Yes.
- Enter the HTTPS URL to your product host.
Use the FQDN, for example:
https://<FQDNproductHost>:8443 - Access the HTTPS lock (it should be green, not red) and review the SSL certificate.
To verify that your HTTPS configuration was successful, open the following URL in a browser:
https://<FQDNproductHost>:<port>/clmui
https://vw-aus-clmidd09.bmc.com:8443/clmuiNote
If you are warned that your server is not trusted, this is a serious error and you must troubleshoot the root cause. You likely made one or more crucial mistakes when you installed or configured the chain of certificates.- Log on as a CLM user.
If you correctly configured the third-party SSL certificate, you should not see any server errors (for example, error 500 where the server cannot find a valid certification path to the requested target) and the application window should appear. The following screenshot also displays the Google Chrome diagnostic tools for networking.
Related topic
Using certificates to secure communication between clients and Application Servers (in the BMC Server Automation 8.6 documentation)
Comments
Log in or register to comment.