For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > November 2005 > Re: Perl + OpenSSL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Perl + OpenSSL
Bob Showalter

2005-11-21, 6:57 pm

Ward.P.Fontenot@wellsfargo.com 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()?"
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com