Hi,
   I am trying to encrypt doc file using rsautl but it is giving me error as 
follows 
OpenSSL> rsautl -encrypt -inkey public.pem -pubin -in Mydoc.doc -out Myfile.ssl
Loading 'screen' into random state - done
RSA operation error
1184:error:0406D06E:rsa routines:RSA_padding_add_PKCS1_type_2:data too large for
 key size:.\crypto\rsa\rsa_pk1.c:151:
error in rsautl

  Why it is giving me error though same command works me well for .txt file ..
 Waiting for your reply ..
  Thanks in ad
  Bhagyashri Katole
  C-DAC, Pune  
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to