wood burning stoves 2.0*
The moose likes Security and the fly likes importing p7b chain as root in keystore Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "importing p7b chain as root in keystore" Watch "importing p7b chain as root in keystore" New topic
Author

importing p7b chain as root in keystore

levani dvalishvili
Ranch Hand

Joined: Mar 01, 2005
Posts: 99
Hi All ! I have an issue with importing signed certificate in my kestore, situation is that I have a certificate that was generated using my csr file. and I have a chain that they sent me with it,but when I try to import chain with command
I get error stating :

is there a way to conver the cert if thats what I need to do?

chain file has 2 certificates in and it says its type is PKCS#7 .
I looked in thawte howto as well as went through jdk keytool doc but so far have not found the solution for it
P.S I also tried to use IE to import and and export but in that case IE spits the certificates and then I cant decide wich on eti import as root I tried both options but did not work.

anyon can advice the solution ?
[ January 25, 2006: Message edited by: levani dvalishvili ]

SCJP 1.5(Done) SCJA 1.0(Done)<br />SCWCD(in Progress...)
levani dvalishvili
Ranch Hand

Joined: Mar 01, 2005
Posts: 99
I got it working : here wat I had to do :
since chain had more than one certificate I had to split it with IE and them import both into keystore one under allias root and another under any allias after that it imported the certificate .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: importing p7b chain as root in keystore