IntroductionBy popular demand, Java Plugin 1.2.2 adds support for RSA signed applets. This provides the following benefits:
This page describes how to create and deploy RSA signed applets. For an overview of how they are implemented, see How RSA Signed Applet Support Works. How to Create RSA Signed AppletsThe RSA signed applet support in Java Plugin 1.2.2 is compatible with the Netscape Object Signing conventions. You can create an RSA signed applet in two different ways:
Either approach requires that you obtain an Object Signing Certificate from an RSA Certificate Authority (CA) (such as Verisign or Thawte) and make it available to your codesigning utility:
Once the Object Signing Certificate and signing utility are properly installed, they can be used to sign applets. How to Deploy RSA Signed AppletsRSA signed applets are deployed in much the same way as their unsigned counterparts, i.e., the fact that the applet was signed (using RSA) is "hidden" in the applet's JAR file and not exposed in its HTML page. When users of Java Plug-in encounter an RSA signed applet, the Plug-in will verify that the applet is correctly signed, and that the RSA certificate chain and the root CA are valid. If these are all valid, the Plug-in will pop-up a security dialog that tells the user who signed the applet and provides four options:
Once the user selects the options from the security dialog, the applet will be run in the corresponding security context. Please notice that all these decisions are determined on the fly, and no preconfiguration is required. Converting old Netscape signed appletsExisting RSA signed applets designed for Netscape may use Netscape specific security APIs. These Netscape specific APIs are not supported in the Java Plug-in. Instead the Plug-in supports the standard Java security APIs in both Netscape Navigator and Internet Explorer. To migrate Netscape signed applets using the Netscape security APIs to run in Java Plug-in:
This ensures that your RSA signed applet will run in both Netscape Navigator and Internet Explorer with the Java Plug-in. AuthenticodeAuthenticode is a proprietary signing technology that is used in Microsoft Internet Explorer on Win32 for supporting signed applets in IE's JVM. Authenticode is not supported in Java Plug-in. Instead the plug-in allows the use of RSA signed applets in both IE and Netscape.Certificate ManagementThe Java Plug-in Control Panel provides a panel for managing RSA signed applets. This panel contains a list of certificates that have been chosen as "Grant always" when the Java Plug-in security dialog popped up. Users can remove any certificate from the list, and if any applet signed by these removed certificates is encountered again, a security dialog will pop up and ask for permission again. Supported ConfigurationsThe certificate chain verification process supported in Java Plug-in is implemented using Microsoft Crypto API (CAPI) 2.0 on Win32. This means that the Root CA
certificate at the top of a signed applet's supporting
certificate chain must be contained in Internet Explorer's
database of trusted Root CAs,
in order for the Plug-in to be able to authenticate that
applet (running under Netscape or Internet Explorer).
In other words, the top level Root CA certificate
(eg. VeriSign Class 3) contained
in the user's IE CA database (as viewed from IE's
Internet Options -> Content tab -> View Certificate) must exactly
match (incl. validity timeframe!) the Root CA certificate in the
Currently, CAPI is supported in Windows 95 OSR2, Windows 98, and Windows NT 4.0 Service Pack 3. It is also supported in Internet Explorer 3.0 or later. Since CAPI does not come with Netscape Navigator, there are cases when the certificate chain verification process is disabled. RSA signed applets will be disabled in those cases.
Disabling RSA Signed Applet SupportRSA signed applets can be entirely disabled in Java Plug-in by specifying a new permission named "usePolicy" in the policy file. If the "usePolicy" permission is among the permissions granted to the given codesource (by the configured security policy), no user prompting will take place, and only the permissions (if any) specified in the security policy will be granted to the codesource. By default, RSA signed applets are enabled in the Java Plug-in. ConclusionThe Java Plug-in 1.2.2 makes signed applet deployment much
easier in the enterprise by supporting RSA signed applets.
Users and administrators no longer need to
preconfigure user machines to run signed applets with
Java Plug-in. It can be used in both Internet Explorer
and Netscape Navigator. More InformationSigning Software with Netscape Signing Tool 1.1 Netscape Object Signing- Establishing Trust for Downloaded Software | ||||||||||||||||||||||||||
|
| ||||||||||||