How to generate the keystore pkcs12 file.
Find the below instructions to use Java Keytool for generating keystore files before that find the below details of default locations of the Java Keytool:
Platform:
windows : <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\ win64_x64\sapjvm\bin
Linux : sap_bobj/enterprise_xi40/linux_x64/sapjvm/bin/keytool
1. Go to Java Keytool’s default location and launch Command Prompt.
2. Run the Java Keytool for generating keystore.
2.1 Go to <INSTALLDIR>\ SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin.
2.2 Run the command:
Windows: <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\keytool” -genkey -alias mywin -keystore keystore.p12 -storepass admin1 -dname CN=palmtree -validity 365 -keyalg DSA -keysize 1024 -storetype pkcs12
Linux: */sap_bobj/enterprise_xi40/java/lib>/sap_bobj/enterprise_xi40/linux_x64/sapjvm/bin/keytool” -genkey -alias mywin -keystore keystore.p12 -storepass admin1 -dname CN=palmtree -validity 365 -keyalg DSA -keysize 1024 -storetype pkcs12
To override the default values, run the tool together with the -? parameter. The following message is displayed:
Usage: keytool -genkey <options>
-keystore <filename(keystore.p12)>
-alias <key entry alias(mywin)>
-storepass <keystore password (admin1)>
-dname <certificate subject DN(CN=palmtree)>
-validity <number of days (365)>
-cert <filename (cert.der)>
(No certificate is generated when importing a keystore)
-importkeystore <filename>
You can use the parameters to override the default values.
Note: You must use Java Keytool as a replacement of PKCS12 tool to generate keystore. Refer 2524775 Information published on SAP site for more information.
EmoticonEmoticon
Note: only a member of this blog may post a comment.