Well, that explained that. Is there a way to do this then? Or am I barking up the wrong tree?
-----Original Message----- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 2:06 PM To: Fontenot, Ward P. Cc: beginners@perl.org Subject: Re: Perl + OpenSSL [EMAIL PROTECTED] wrote: > Can anyone shed some light on why this doesn't work? > > $certificate = "/some/where/file.pem"; $encoded = "'" . sha1($_) . > "'"; > > $signed = system(`openssl rsautl -certin $certificate -encrypt -in > $encoded`); > > $signed doesn't end up as a certificate signed value, it ends up as > this number 65280. See: perldoc -q "Why can't I get the output of a command with system()?"
smime.p7s
Description: S/MIME cryptographic signature