Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Error reading S/MIME message with openssl

by Corion (Patriarch)
on Oct 05, 2019 at 09:37 UTC ( #11107084=note: print w/replies, xml ) Need Help??


in reply to Error reading S/MIME message with openssl

Does the error occur without using Perl as well?

What is the output if you run the following command on the shell (with the variables replaced by the values in your Perl program):

$OPENSSL smime -decrypt -in $mailfile -recip $RECIP_CERT -inkey $RECIP +_KEY -passin pass:$RECIP_PASSWORD

If you get the same output there, the problem is with $OPENSSL or with the client input and has nothing to do with Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11107084]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-01-28 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?