Hello,

While experimenting with my apache webserver and Openssl, there came up some questions. At first, what i am doing actually:

Actually I am using Client Authentication to identify and login to a website. But now I want to add the possibility to encrypt files with another users' public key.

My question is: Is it possible to use a SSL-certificate as a private key? E.g. the following scenario: There are two users, user A and user B. Both have a certificate to authenticate and login to site xyz.com . Now user A wants to upload a file to xyz.com, but it should be only for user B's eyes. So the file gets encrypted automatically by the server with user B's public key (all users public keys are on the server, too). Now, when user B logs on, and downloads the file, it gets automatically decrypted, using his private Key (inside his SSL-Cert).

Thank you in advance for any suggestion,

Susanne

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

Reply via email to