encryption of a file with my own certificates? possible?

i have a requirement where i have to read the file data, encrpty it and archieve it ?? Is there way i can do it using my own created certificates(only for internal purpose)?? Or i have to also get from CA?


Hi Asesh,
This possible by creating your own certificates bu using ‘openSSL’.
Even i’m trying to do that. I’m facing some encrypting and decrypting problems.
I don’t know whether its the problem in the certificates/code. So think i can help you once my problem is resolved. In the mean time if you come to know any other way, just keep me updated.