Here is a cmd file to do many of the steps for you.
Same Path assumptions apply.
cd ''C:Program FilesHPQuality Center_jvm''
del server.keystore
del temp_server.cer
del client.keystore.trust
set SERVER_DN=''CN=ws2003, OU=X, O=Y, L=Z, S=XY, C=YZ''
set CLIENT_DN=''CN=Client, OU=X, O=Y, L=Z, S=XY, C=YZ''
set KSDEFAULTS=-storepass changeit
set KEYINFO=-keyalg RSA
.binkeytool -genkey -alias tomcat -dname %SERVER_DN% %KSDEFAULTS% -keystore
server.keystore %KEYINFO% -keypass changeit -validity 365
.binkeytool -export -alias tomcat -file temp_server.cer %KSDEFAULTS% -keystore
server.keystore
.binkeytool -import -v -trustcacerts -alias tomcat -file temp_server.cer %KSDEFAULTS%
-keystore client.keystore.trust -keypass changeit
copy .libsecuritycacerts .libsecuritybackup_cacerts
copy .client.keystore.trust .libsecuritycacerts
md c:CAs
copy .server.keystore c:CAs
cd ''C:Program FilesHPQuality Centerjbossserverdefaultdeployjbossweb-tomcat55.sar''
notepad server.xml
net stop ''HP Quality Center''
net start ''HP Quality Center''