certtool: allow multiple certificates in --p7-sign
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
Do you think this functionality could be included in the certtool?