INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

jarsigner: Certificate chain not found

jarsigner: Certificate chain not found

(OP)
The full error message is:

jarsigner: Certificate chain not found for: mykey.  mykey must reference a valid  KeyStore key entry containing a private key and corresponding public key certificate chain.

Here's the situation: I got a certificate (an .spc and .p7b file) from my company and I'm supposed to sign my jars with it/them. So far, no luck. First, key tool wouldn't import them (they're binary encoded pkcs #7 certificates, key tool says it'll import them, but it didn't), so I imported them into the Microsoft certificate store and re-exported them as base64 X.501 certificates. keytool took those.

I also have a file with a .pvk extension, which is supposedly a microsoft private key. I have no idea what to do with it.

Is is possible to sign jars with something other than jarsigner?
Is it possible to sign jars with certificates not generated by the genkeypair, certreq process given in the keytool documentation?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close