[xmlsec] Problems load private key

Lidia lidia.castillejo01@campus.upf.es
Thu, 20 Jun 2002 17:15:35 +0200


I think that you don't understand me.
I developed a application to generate keys, certificates...
after I use this keys and certificates to sign xml documents using your =
library.
You can generate with openssl private keys protected with password using =
a asimetric cypher algorithm (as RC4 or 3DES). I try to load the private =
key with xmlSecSimpleKeysMngrLoadPemKey indicating the pass phrase =
(password) and load process failed.
I hope that this time you can understand me.
Regards,
lidia

----- Original Message -----=20
From: "Aleksey Sanin" <aleksey@aleksey.com>
To: "Lidia" <lidia.castillejo01@campus.upf.es>
Cc: <xmlsec@aleksey.com>
Sent: Thursday, June 20, 2002 5:18 PM
Subject: Re: [xmlsec] Problems load private key


> Do you have any error messages from xmlsec? And how did
> you create the encrypted PEM key?
>=20
> Aleksey
>=20
> Lidia wrote:
>=20
> >Hi,
> >
> >When I generate signature i load private key using:
> >    key=3DxmlSecSimpleKeysMngrLoadPemKey(keysMngr, =
private_key_file,password,NULL,1)
> >
> >The problem is if the private_key_file is encrypted with password =
then I can't load the key. If the "private_key_file" hasn't password I =
have not problems and I can load key.
> >Program doesn't crashing only  return key=3DNULL.
> >
> >Regards,
> >lidia
> >
> >
> >
> >_______________________________________________
> >xmlsec mailing list
> >xmlsec@aleksey.com
> >http://www.aleksey.com/mailman/listinfo/xmlsec
> > =20
> >
>=20
>=20
>=20