With a code signing certificate you don't have to re-import the certificate into a keystore.
what we did with Globalsign (and I believe it's the same Comodo) you install the certificate (in our case) into Firefox
Also make sure that you install the intermediate and the root certificate, of the issuer (GlobalSign or Comodo)
(This is all done, when you receive your certificate from the GlobalsSign or Comodo site)
than in firefox, export your certificate to a PKCS12 file. (give it a password)
and than:
http://portecle.sourceforge.net/ to the rescue!
install/uzip this tool and also install:
for Java 6:
http://www.oracle.com/technetwork/java/ ... 29243.htmlor for Java 7:
http://www.oracle.com/technetwork/java/ ... 32124.html(Unzip the content of this zip and place the files into your java/lib/security folder)
Open portecle.jar and than open your certificate in this tool. (with the password you give, when you exported)
You should see three files, your certificate, the intermediate and the root.
Now you can convert/change this file, to a java keystore file (JKS) (it defaults set's your certificate password to: 'password')
you can rightclick on your certificate file, to rename it, to an easier alias, and you can right-click on your certificate, to set a new password
Now save the file to for example: mysignedcertificate.jks.
Use that file with the signtester and your done!