How to apply CA signed certificate.
Step 1:
Generating keystore file.
keytool -genkey -alias tomcat -keyalg RSA -keystore AutomationEdge.keystore
output:
What is your first and last name?
[Unknown]:
What is the name of your organizational unit?
[Unknown]:
What is the name of your organization?
[Unknown]:
What is the name of your Cit y or Locality?
[Unknown]:
What is the name of your State or Province?
[Unknown]:
What is the two-letter country code for this unit?
[Unknown]:
Note:
First name and last name should be matching with your certificate name.
Step 2:
Generating CSR file
keytool -certreq -keyalg RSA -alias tomcat -file aeserver.csr -keystore AutomationEdge.keystore
Step 3:
importing root certificate to keystore file.
keytool -import -trustcacerts -alias root -file root_aeserver.cer -keystore AutomationEdge.keystore
Step 4:
importing intermediate certificate to keystore file.
keytool -import -trustcacerts -alias intermediate -file Intermediate_aeserver.cer -keystore AutomationEdge.keystore
Step 5:
importing primary certificate to keystore file.
keytool -import -trustcacerts -alias tomcat -file primary_aeserver.cer -keystore AutomationEdge.keystore
Step 6:
keytool -list -keystore AutomationEdge.keystore
Note: it will display all figureprints of certificates which are imported to keystore.
Make sure it match with all 3 imported certificate and it has 1 private key entry.
Step 7:
Clear all browser history and loginto AE application by using sysadmin credential and update the https url -> Verify URL and save.