Highlighted
Super Contributor.
Super Contributor.
945 views

Regenerating tomcat server certificates after HPOM server hostname has been changed

Jump to solution

Hello.

 

I changed management server hostname using Administrator’s Reference, but tomcatB certificate did not regenerate.

 

How i can regenerate tomcat certificate correctly?

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.
Super Contributor.

Answer :smileyhappy: - For HPUX Only

 

tomcat certificate file stores at /var/opt/OV/certificates/tomcat/b/tomcat.keystore

 

The key file was generated in postinstall action of HPOvTomcatB package (package was installed during management server installation). See create_tomcat_keystore() function (install_management_cd\packages\HPOvTomcatB.depot\catalog\HPOvAcc\HPOVTOMCATB\postinstall)

 

At the end of function call java tool - keytool:

/opt/OV/nonOV/jre/b/bin/keytool -genkey -alias ovtomcatb -keyalg "RSA" -keysize "2048" -validity "7200" -dname "CN=new_server_FQDN_name, OU=OpenView, O=Hewlett-Packard, L=Palo Alto, ST=California, C=US" -keypass changeit -storepass changeit -keystore /var/opt/OV/certificates/tomcat/b/tomcat.keystore

View solution in original post

2 Replies
Highlighted
Super Contributor.
Super Contributor.

Answer :smileyhappy: - For HPUX Only

 

tomcat certificate file stores at /var/opt/OV/certificates/tomcat/b/tomcat.keystore

 

The key file was generated in postinstall action of HPOvTomcatB package (package was installed during management server installation). See create_tomcat_keystore() function (install_management_cd\packages\HPOvTomcatB.depot\catalog\HPOvAcc\HPOVTOMCATB\postinstall)

 

At the end of function call java tool - keytool:

/opt/OV/nonOV/jre/b/bin/keytool -genkey -alias ovtomcatb -keyalg "RSA" -keysize "2048" -validity "7200" -dname "CN=new_server_FQDN_name, OU=OpenView, O=Hewlett-Packard, L=Palo Alto, ST=California, C=US" -keypass changeit -storepass changeit -keystore /var/opt/OV/certificates/tomcat/b/tomcat.keystore

View solution in original post

Highlighted
Absent Member.. Absent Member..
Absent Member..

Nice work :smileywink:

Regards,
Mahmoud Ibrahim
http://www.mahmoudthoughts.com
  • Say thanks by clicking the "Kudos! Star" which is on the left.

  • Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.
  • 0 Likes
    The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.