Layla wrote:
Hi all,
I would like to use RSA public key cryptography. My question is: Is it possible to generate RSA keys from command line and have them stored in a file in order for a C application to access/use them? If not, then what is it the best way to go about this?

Probably the easiest way is to use SSH: # ssh_keygen -b 2048 -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""

Call the SSH routines with SHELLEXEC or similar functions.

See this: http://www.aerospacesoftware.com/ssh-howto.html

Cheers,
--
Herman
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to