I need to directly ask this here because after much Googling and searching on StackExchange, I haven't landed on anything relevant so far.
So, say I am using OpenSSL (on a Windows platform, if that matters) and a .pem file to sign a .txt file; the command I use is
openssl smime -sign -in unsignedfile.txt -outform der -binary -nodetach -out signedfile.txt.p12 -signer certificate.pem -passin pass:PASSWORD
So far, so good.
My question is: should the .pem file contain MORE THAN ONE pairs of privatekey/certificate - each of them identified by a "friendlyName" (which I understand being an alias, an identifier), how do I specify the alias I want to use in the command line above?
Is that even possible?
Been looking for the -alias option at https://wiki.openssl.org/index.php/Command_Line_Utilities but didn't help much.
Thank you in advance.