GeeCON Prague 2014*
The moose likes Security and the fly likes Signed applet twice and use only one of the certifications. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Security
Bookmark "Signed applet twice and use only one of the certifications." Watch "Signed applet twice and use only one of the certifications." New topic
Author

Signed applet twice and use only one of the certifications.

Marco Antonio
Ranch Hand

Joined: Apr 23, 2008
Posts: 74
Hi to everybody!!

I have a problem with a signed applet. The associated JAR file (it is stored in a shared repository) is used by two differents applications (A and B), and the application A expects the JAR is signed with the Cert1 but the application B expects the JAR is signed with the Cert2. If the JAR is signed with both certifications, when I access to the application A, as well as the Cert1, the Cert2 is also required to be accepted. So when I access to the application B, the Cert1 is required to be accepted as well the expected one.

My question is, can I sign a JAR with two certifications (for two different applications) and when I access to one of the applications only the suitable (and expected) certification will be required to be accepted (Application A ---> Cert1 and Application B ---> Cert 2)?

I expect I have explained my problem to be understood.


Thank you so much to all, expecially to everyone who contribute with an answer.


Any correction of my English will be gratefully accepted.
 
GeeCON Prague 2014
 
subject: Signed applet twice and use only one of the certifications.