How can I encrypt a large file with a public key so that no one other than who has the private key be able to decrypt it?
I can make RSA public and private keys but
You can't directly encrypt a large file using rsautl. instead, do something like the following:
openssl rand, eg. openssl rand 32 -out keyfileopenssl rsautlopenssl enc, using the generated key from step 1.