I used the command<br>xmlsec1 --sign --output x509data-sn-test-untrusted.xml --privkey-pem rsakey.pem --untrusted-pem rsacert.pem --print-debug x509data-sn-test.tmpl<br>
Taking the sample cert <br>1. <b>rsakey.pem</b> (xmlsec1-1.2.10\tests\keys)<br>2. <b>rsacert.pem </b>(xmlsec1-1.2.10\tests\keys)<br>Which is having valid certs.<br><br>In signed output its blank<br>--------------------------<br>
      &lt;X509Data&gt;<br>        <br>      &lt;/X509Data&gt;<br>--------------------------<br><div class="gmail_quote">On Mon, Jun 15, 2009 at 10:51 AM, Aleksey Sanin <span dir="ltr">&lt;<a href="mailto:aleksey@aleksey.com">aleksey@aleksey.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Do you have certs in the rsakey.p12 ?<br>
<br>
Aleksey<br>
<br>
Braja Biswal wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Yes I have.<br>
<br>
      &lt;X509Data&gt;<br>
        &lt;X509SubjectName/&gt;<br>
        &lt;X509IssuerSerial/&gt;<br>
        &lt;X509SKI/&gt;<br>
        &lt;X509Certificate/&gt;<br>
        &lt;X509CRL/&gt;<br>
      &lt;/X509Data&gt;<br>
<br></div><div><div></div><div class="h5">
On Sat, Jun 13, 2009 at 10:03 PM, Aleksey Sanin &lt;<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a> &lt;mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>&gt;&gt; wrote:<br>

<br>
    Do you have &lt;X509Data&gt; element in your template?<br>
<br>
    Aleksey<br>
<br>
    Braja Biswal wrote:<br>
<br>
        HI Aleksey,<br>
<br>
        I make the following steps<br>
        1. ./configure --enable-crypto-dl=no --enable-x509=yes<br>
        --with-openssl=/usr/local/ssl<br>
        (./configure --enable-crypto-dl=no  --with-openssl=/usr/local/ssl)<br>
        2. make<br>
        make install.<br>
<br>
        Now I tried to sign the templete files<br>
        x509data-sn-test.tmpl<br>
        x509data-test.tmpl<br>
        enveloping-sha224-rsa-sha224.tmpl<br>
        couple of other files with below options.<br>
        *THERE IS NO X509 DATA *available in signed output files.<br>
<br>
        I used some commands like<br>
        1.<br>
        xmlsec1 --sign --output x509data-test-signed-untrusted.xml<br>
        --print-debug --pkcs12 rsakey.p12 x509data-test.tmpl<br>
        2.<br>
        xmlsec1 --sign --output x509data-sn-test-untrusted.xml<br>
        --privkey-pem rsakey.pem --untrusted-pem rsacert.pem<br>
        --print-debug x509data-sn-test.tmpl<br>
<br>
        Can you please help?<br>
        Where I am doing mistake.<br>
<br>
        Regards<br>
        Braja<br>
<br>
<br>
        ------------------------------------------------------------------------<br>
<br>
        _______________________________________________<br>
        xmlsec mailing list<br></div></div>
        <a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a> &lt;mailto:<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a>&gt;<div class="im"><br>
        <a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/mailman/listinfo/xmlsec</a><br>
<br>
<br>
</div></blockquote>
</blockquote></div><br>