Java Deployment Rule Set
Java Deployment Rule Set
6.
7. Package the ruleset.xml in a jar file naming “DeploymentRuleset.jar” by the command “jar -cvf
DeploymentRuleset.jar *”
8. In the command prompt, run the command below to create the keystore and key.
“keytool -genkey -alias server -keyalg RSA -keysize 4096 -keystore
keystore.jks”
Internal to Wipro
This command creates a Java Keystore file called keystore.jks.
10. In the command prompt, run the command below to generate the CSR from the keystore.
This command creates a private key and a CSR and saves them as a .jks file. and as
a .csr file.
11. Provide the csr and JKS file with AD team and ask them to provide certificate chain which will
have all certificates from CA root in a “.p7b” format like below.
Like below.
Internal to Wipro
13. Open command prompt and go inside the folder under which the files are copied with the below
command .
14. Run the below command to include the pb7 file into the Jks keystore file .
15. After the pb7 file is imported run the below command to sign the jar file .
Here in two command server is the alias name which is provided in step 8.
16. You will see the another jar file like below .
Internal to Wipro