<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
I am not sure I understand what are you trying to do. "Trusted" and
"untrusted" certificates<br>
are used for signature verification, not for signing (hint: you have to
have private key for <br>
signature, certificate has only public key). I think you should look at
"--privkey-*" options.<br>
<br>
Aleksey<br>
<br>
Julianne Bielski wrote:<br>
<blockquote type="cite"
 cite="midOF86166BA1.52784526-ON87256DCB.006E98B2-85256DCB.006F61FF@us.ibm.com"><br>
  <font size="2" face="sans-serif">No matter what I try, I can't seem
to
get xmlsec.exe to sign a template with my untrusted-der certificate. I
consistently get error messages about the object not being found.</font>
  <br>
  <br>
  <font size="2" face="sans-serif">xmlsec - -sign - -untrusted-der
julie.cer
test.xml</font>
  <br>
  <br>
  <font size="2" face="sans-serif">&nbsp;I've been able to use the library
to validate signatures created with this key.</font>
  <br>
  <font size="2" face="sans-serif">Admittedly, I'm not exactly sure
what
to put in a template when using an untrusted-der. I've tried all sorts
of combinations, and none of them seem to work.</font>
  <br>
  <font size="2" face="sans-serif"><br>
  </font></blockquote>
</body>
</html>