Hi all openssl gurus
 
 I am a newbie here and I therefore may sound very stupid too :)

I am trying to use openssl for encryption using RSA algorithm.
 I want to know whether I can use my own keys for doing this. If yes, then how ?
 
 I created a file public.pem and stored my public key in this in PEM format.
 Now when I do "openssl rsautl -encrypt -inkey public.pem -pubin -in inputfile 
-out outputfile", I get the error saying "unable to load Public Key" which 
means PEM_read_bio_PUBKEY() returns NULL.
 
 Any suggestions for what I should be doing ?
 
 Thanks,
 Bibhuti
       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!

Reply via email to