Skip to content

certtool: allow multiple certificates in --p7-sign

username-removed-105950 requested to merge tmp-multiple-certs-in-p7-sign into master

This is more of an issue than a real merge request. I want to create a PKCS#7 container that is

  • signed
  • contains embedded data
  • contains the signing certificate and all the intermediate certificates Currently this is not possible with the certtool.

These changes are a little bit hackish, but at least they allowed me to construct the PKCS#7 container I wanted. $ cat signingcert.pem othercert.pem othercert1.pem > certlist.pem $ certtool --p7-sign --infile data --load-cert certlist.pem --load-privkey key.pem --outder --outfile data.p7b

Merge request reports