o-regan.org

Codesigning simplified…

Skip to: Content | Sidebar | Footer

Date: August 3rd, 2007

InvalidKeyException: Illegal key size issue

3 August, 2007 (22:49) | faq, firefox, signtool, xpi

When running XPISigner with a PFX generated from SPC & PVK files you may run into the following error…
“unwrapping private key - java.security.InvalidKeyException: Illegal key size”
This may have two causes:

The unlimited strength policy files are not installed in your %JAVA_HOME%/jre/lib/security folder.
The PFX that was generated is not well formed. See below for instructions on how to export [...]