This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Security and the fly likes Problems Importing a certificate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Problems Importing a certificate" Watch "Problems Importing a certificate" New topic

Problems Importing a certificate

Cristovao Santos

Joined: Jul 01, 2008
Posts: 11

I am driving crazy with this problem.
I have created a keystore in my server (windows 2000) using keytool. Then i created a csr that i sent to an entity that i will receive xml sign messages. This entity give me back an email with a certificate and a PKCS7.
The format are:
Your DER encoded certificate and PKCS#7 certificate chain are attached.

Your PEM encoded certificate is:

Your PEM encoded PKCS#7 certificate chain is:

-----BEGIN PKCS7-----
-----END PKCS7-----


Now, i have to import that to my keystore right? I had copy the first certificate to a .der file and import that to my keystore using keytool command. After that i tried to import the PKCS7 but unfortunetly i dont know how to do that.

Anyone can help me please?

Ths a lot!

I agree. Here's the link:
subject: Problems Importing a certificate
It's not a secret anymore!