Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / June 2004

Tip: Looking for answers? Try searching our database.

problem to sign an applet

Thread view: 
felix - 03 Jun 2004 18:55 GMT
Hi everybody, first of all sorry for my poor english

I want to sign an applet for Internet Explorer with J2SDK1.4.2.  

The problem is that I have got a certificate and its private key (one
in each file) to sign the applet, but I have not the keystore that
created that private key. I think the idea is import the private key
and the certificate in a keystore. ¿is this correct?

If that is solution. How can I do that? I know keytool cannot import
private keys.

Thanks in advance
Roedy Green - 03 Jun 2004 19:50 GMT
>The problem is that I have got a certificate and its private key (one
>in each file) to sign the applet, but I have not the keystore that
>created that private key. I think the idea is import the private key
>and the certificate in a keystore. ¿is this correct?

If you just have the cert, but not the keystore that originally
generated it you have only the public part, not the private part.  The
ca signed only the public part.  You never gave them your private
part.

In other words, you are SOL. You have to start over and be more
careful to keep backups of the .keystore.

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.

felix - 03 Jun 2004 23:15 GMT
What I have got is a file where the certificate is and another file
(with extension pvk) where the private key is, because I had to sign
applets with Microsoft JVM (so I have another .spc file).  But now I
need to sign applets SUN JVM. That's the reason cause I have not the
keystore. Any possibility to sign applets with SUN JVM using these
files?

Regards

> >The problem is that I have got a certificate and its private key (one
> >in each file) to sign the applet, but I have not the keystore that
[quoted text clipped - 8 lines]
> In other words, you are SOL. You have to start over and be more
> careful to keep backups of the .keystore.
Roedy Green - 04 Jun 2004 01:19 GMT
>What I have got is a file where the certificate is and another file
>(with extension pvk) where the private key is, because I had to sign
>applets with Microsoft JVM (so I have another .spc file).  But now I
>need to sign applets SUN JVM. That's the reason cause I have not the
>keystore. Any possibility to sign applets with SUN JVM using these
>files?

see http://mindprod.com/jgloss/keystore.html

follow the link to Mitch Gallant's solution.

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.