Re: "Private Key is does not belong to this provider" returned when i try creating Certificate

2010-05-05 Thread joabelfa
On May 5, 2:01 pm, "M.Hunstock" wrote: > Am 05.05.2010 13:02, schrieb joabelfa: > > > Certificate certificadoJSS = new Certificate(info, rootkey, sigAlg); > > > what is the problem? > > where is sigAlg coming from

Re: "Private Key is does not belong to this provider" returned when i try creating Certificate

2010-05-05 Thread joabelfa
On May 5, 2:33 pm, David Stutzman wrote: > On 5/5/2010 7:02 AM, joabelfa wrote: > > >                    ksfis = new > > FileInputStream("./certificates/runa/keystore.jks"); > >                    KeyStore truststore = KeyStore.getInstance("JKS");

"Private Key is does not belong to this provider" returned when i try creating Certificate

2010-05-05 Thread joabelfa
Hi, i'm trying create a new JSS certificate, but when the constructor is called (Certificate certificadoJSS = new Certificate(info, rootkey, sigAlg);), i'm returned the following error: java.security.InvalidKeyException: Private Key is does not belong to this provider at org.mozilla.jss.pk