nto the JKS keystore because keytool does not provide thatfeature, yet.But I think I've figured out your problem. It most likely has to do
with the fact that your key uses the RSA algorithm, but the samplecode that you either modified or are running from the ant scripts,specifies the DSA signing alg
It doesn't Ed. I was under the impression that you could not import
your key into the JKS keystore because keytool does not provide that
feature, yet.
But I think I've figured out your problem. It most likely has to do
with the fact that your key uses the RSA algorithm, but the s
String p12pin = args[1]; String p12alias = args[2]; String jksfile = args[3];
String jkspin = args[4]; String jksalias = args[5]; String newjks = args[6]; try { //pkcs12 keystore KeyStore pks = KeySt
If the supplier gave you a PKCS12 file, then feel free to use the
following to import the key and certificate into your JKS keystore.
Not a lot of error-checking in here, since I use it for my personal
use.
Arshad Noor
StrongAuth, Inc.
import java.security.*;
import
ify if you mean a PEM format? I can verify that the certificate is valid though as I can use it with 'openssl s_client -connect -cert ' to connect to an SSL server.
Thirdly, can you verify that the private key corresponding to the certificate youare trying to use, is in the JKS
Can you post the lines from your java.security file that reflect
what providers are configured, Ed? Additionally, can you post
your Base64-encoded digital certificate too? Thirdly, can you
verify that the private key corresponding to the certificate you
are trying to use, is in the JKS keystore
Hi Ashrad, thanks for the reply.Sorry, I should have mentioned that in the previous email. I have downloaded the unlimited strength JCE policy jars for 1.5.0 from the Sun Website and installed them as per the instructions (
i.e. copied them into /System/Library/Frameworks/JavaVM.framework/Versions/
Have you installed the unlimited strength JCE policy jars from the
JDK website, as suggested by the responder in the archive?
Arshad Noor
StrongAuth, Inc.
Ed Sweet wrote:
Hi,
I'm using v1.3.0 and have the same exception when signing an xml
document as a post to this list a couple of months ag
Hi,I'm using v1.3.0 and have the same exception when signing an xml document as a post to this list a couple of months ago:http://tinyurl.com/lnfgxi.e. when I use my own keystore and call
sig.sign(privateKey) I get the exception at the foot of this email. There wasn't a solution gi
objective is to just maintain the data integrity of the object,
then just a single generic key on the server should suffice.
Arshad Noor
StrongAuth, Inc.
m2 r2sj wrote:
I am looking for efficient way to use the keystore to create a private
key to sign the XML document for one or more persons
I am looking for efficient way to use the keystore to create a private key to sign the XML document for one or more persons . When the person signs the document , Lets assume 10 persons want to sign the document .
Should We
1)Get the each person details and create a key store for each
11 matches
Mail list logo