Hi Arshad,Many thanks for taking the time to look into this for me - changing the DSA to RSA field works perfectly for me.Cheers, and all the best.Ed.On 30/08/06,
Arshad Noor <[EMAIL PROTECTED]> wrote:
It doesn't Ed. I was under the impression that you could not importyour key into the JKS keysto
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 sample
code that
Hi Arshad,Thanks for the reply. How does the code you supplied differ from the PKCS12Import tool [1] found in the Jetty distribution? I'm using PKCS12Import to convert my .p12 file to .jks.
Ed.[1] http://mortbay.org/apidocs/org/mortbay/jetty/security/PKCS12Import.htmlOn 30/08/06,
Arshad Noor <[EM
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 ja
Hi Arshad,First, I'm sorry I spelt your name wrong in my previous email, and thanks for the reply. I hope these answers are ok, please get back to me if not.
Can you post the lines from your java.security file that reflectwhat providers are configured, Ed? I have an unmodified java.security file
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 given to the other