[xmlsec] Adding X509 Certificate
daniel at metodika.se
Fri Mar 3 06:21:03 PST 2006
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?
On 06-03-03 14.47, "Dmitry Belyavsky" <beldmit at cryptocom.ru> wrote:
> 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
>> 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