[xmlsec] Adding X509 Certificate

Daniel Johansson daniel at metodika.se
Fri Mar 3 06:21:03 PST 2006


Hi,

My PEM file includes both private key and certificate. The manual says that
"--privkey-pem" loads both private key and certificate. Is there any other
option that I must include to load the certificate into the xml file?

Regards,

Daniel

On 06-03-03 14.47, "Dmitry Belyavsky" <beldmit at cryptocom.ru> wrote:

> Greetings!
> 
> On Fri, 3 Mar 2006, Daniel Johansson wrote:
> 
>> I have trouble with inserting a certificate into a <X509Certificate> element
>> in the <X509Data> element below.
>> 
>> At the command line I write:
>> 
>> xmlsec.exe --sign --output /outfile.txt --privkey-pem /certificate.pem
>> /template.txt
>> 
>> The signing works fine and I get no errors. But the <X509Data> element is
>> blank. If I add an empty <X509Certificate> element it is removed.
>> 
>> What am I doing wrong?
> 
> It seems to me you specify the private key only.




More information about the xmlsec mailing list