No matter which order of commands I use, I keep getting similar error messages:
With
xmlsec --sign --output signedfile.xml --pkcs FISKAL.p12 --pwd Password --trusted-pem root_ca.pem --id-attr:Id file.xml
I get
Error: ⟨file⟩ parameter is required for this command
If I try
xmlsec --sign --id-attr:Id --pkcs FISKAL.p12 --pwd Password --trusted-pem root_ca.pem --output signedfile.xml file.xml
I get
Error: filename is expected instead of parameter "--pwd".
Error: invalid parameters
And in the case of
xmlsec --sign --output signedfile.xml --id-attr:Id --trusted-pem root_ca.pem --pkcs FISKAL.p12 --pwd Password file.xml
it's similar:
Error: filename is expected instead of parameter "--pkcs12".
Error: invalid parameters
Below each error message is the line: Usage: xmlsec ⟨command⟩ [⟨options⟩] [⟨files⟩]
Why does xmlsec keep thinking I'm missing a file? What am I doing wrong?