Hello Guys, I am a newbie to this forum though I worked with the openssl code little while.
I have faced an issue while performing encryption on a HPUX target machine to get a pkcs7 format output. I was trying the following command to perform the encryption using s/mime utility : openssl > smime -encrypt -binary -in "XYZ.eml" -out "XYZ-Enc.eml" -aes256 "Encrypt.cer" where Encrypt.cer is in PEM format This utility works will if we have the input file data less than and around 1.5 MB . But fails if it exceed with 1.5 MB. In Fail Scenario, I have noticed that out file is encrypted and i can also decrypt it but the decrypt data is not matched with the in file data. Also i have noticed that in failure case out file size is always less than input file size. On the other hand, same utility works on windows target with large file also. I have few questions as following : 1.) Do smime utility have any such limitation of size on HPUX target ? 2.) How can i find out that how much size of data is actually get encrypted ? Regards -PK