On Mon, Dec 15, 2008 at 11:37:04AM -0600, Mike J wrote:
> It looks like the smime utility is what I'm looking for, however I'm running
> into issues with it.
> I'm working with binary files here, some that could potentially be 50MB.
>
> I create the signed file with:
> openssl smime -sign -in file.bin -binary -signer cert.crt -inkey
> ./private.pem -out file.bin.signed
You forgot "-outform DER" or "-outform PEM" (whichever is required by
the consuming application).
> Seems to work. I then try to verify it with:
> openssl smime -verify -in file.bin.signed -out file.bin.orig
Don't forget "-inform DER" or "-inform PEM".
--
Viktor.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]