I have an ASCII text file with a chain of certificates. I had earlier
sent a CSR and got these certificates back from the CA.
When I opened the ASCII file I see some text before and after ---BEGIN
CERTIFICATE-- and --END CERTIFICATE--
I removed this test because they were file names like
CASubroo
What is the link between the existing key's alias and the alias used
while importing the CA-root and sub-root certificates ?
The CA-root and sub-root certificates have been imported with new
aliases. The old alias throws an error.
Thanks,
Mohan
On Thu, Aug 27, 2009 at 2:35 PM, Mohan
Radhakrishna
Not it does not look like I need OpenSSL. The following Java command
could import the entire chain.
keytool -import -alias visaftpsflux -file visacertificateedited.cer
-trustcacerts -keystore FSSNABMAPSVISA.jks -storepass password
Further testing is required.
Mohan
On Thu, Aug 27, 2009 at 4:24
not-yet-commons-ssl-0.3.11.jar can accomplish what you are trying to
do. Details here:
http://juliusdavies.ca/commons-ssl/utilities.html#ksb
java -cp not-yet-commons-ssl-0.3.11.jar org.apache.commons.ssl.KeyStoreBuilder
KeyStoreBuilder converts PKCS12 and PKCS8 to Java "Keystore"
KeyStoreBui