J2SE Version (please include all output from java -version flag):
7U45 and 7U40
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
Does this problem occur on J2SE 6ux or 7ux? Yes / No (pick one)
Operating System Configuration Information (be specific):
Window 7 x64
Hardware Configuration Information (be specific):
Not be able to get a certificate rule to work in a DeploymentRuleSet. Had tried many variations, and none have worked. Was emulating the example shown here:
The docs say that only SHA256 is supported now, and that the colons should be stripped. All the examples have the hash in all upper case.
Using a location rule works fine, but not the certificate ones. Originally tried to let the <action> be to run the application, but having it block made the testing a bit easier.
The Java security dialog only gives the hash with SHA1, needed to go to the actual jar file to get the SHA256. The keytool command provides:
Signature algorithm name: SHA1withRSA
The SHA1 hash matches the one shown in the security dialog, so it should be using the correct value.
Steps to Reproduce (be specific):
Use the DeploymentRuleSet on https://www.ocie.net/OcieDemo/JViewer/webstart.html and watch it not block the application