Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Customer is trying to decrypt the mailfile and write another file with decrypted email data. but getting empty file. below command giving me below error, what could be the possible reasons. this seems to have happened after customer updated there certificate before that same command seemed to be working fine.
#command my $system_output = system("$OPENSSL smime -decrypt -in $mailfile -rec +ip $RECIP_CERT -inkey $RECIP_KEY -passin pass:$RECIP_PASSWORD > ${ma +ilfile}.txt"); &DebugIncoming("SYSTEM OUTPUT : $system_output"); &DebugIncoming("FILE SIZE :". -s ${mailfile}.txt); ##it returning empt +y file.
Thank you.#Error in detail Error reading S/MIME message 2992:error:0D0D40CD:asn1 encoding routines:SMIME_read_ASN1:invalid mim +e type:crypto/asn1/asn_mime.c:460:type: multipart/alternative
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error reading S/MIME message with openssl
by Corion (Patriarch) on Oct 05, 2019 at 09:37 UTC | |
|
Re: Error reading S/MIME message with openssl
by jcb (Parson) on Oct 05, 2019 at 19:43 UTC |