How to import a Microsoft Certificate Authority certificate into Tomcat.
book
Article ID: 53212
calendar_today
Updated On:
Products
CA IT Asset ManagerCA Software Asset Manager (CA SAM)ASSET PORTFOLIO MGMT- SERVERSUPPORT AUTOMATION- SERVERCA Service Desk Manager - Unified Self ServiceCA Service Desk ManagerCA Service Management - Asset Portfolio ManagementCA Service Management - Service Desk Manager
Issue/Introduction
Description
This document describes the steps needed to import a certificate into Service Desk and/or CMDB Tomcat.
Solution
Run the JRE 1.6 keytool to create the .keystore file: D:\Program Files\CA\SC\JRE\1.6.0_00\bin>keytool -genkeypair -alias SDR12 -keyalg RSA -keystore SDR12.keystore -dname "CN=Service Desk..."
Submit the file "certrequest.txt" to your Microsoft Certificate Authority. It should be a BASE64 encoded certificate.
Import the certificate (in the example below, the filename is "sd_12_new2.p7b"): D:\Program Files\CA\SC\JRE\1.6.0_00\bin>keytool -importcert -trustcacerts -alias SDR12 -keystore SDR12.keystore -file sd_12_new2.p7b.
Edit the server.xml file located in the following directory: NX_ROOT\bopcfg\www\CATALINA_BASE\conf. Uncomment the SSL section and add the location of the keystore file ("SDR12.keystore" in this document).