how to use server certificate to encrypt data, then use private cert/signature to decrypt?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Notgiven

    #1

    how to use server certificate to encrypt data, then use private cert/signature to decrypt?

    A book (Pro PHP Security) I read has some details about it but it is not
    very clear and I need to learn more.

    What I gleaned is possible in this book is that the php code can encrypt
    data using the server's public key certificate before sending it to the
    database. Then the user, who has a private key created from that servers's
    public key, is the only one who can decrypt the data.

    This is similar to the way Lotus Notes works with PKI and X.509 certs.

    Any links or how-tos where I can learn more is MUCH appreciated!


  • Colin McKinnon

    #2
    Re: how to use server certificate to encrypt data, then use private cert/signature to decrypt?

    Notgiven wrote:
    A book (Pro PHP Security) I read has some details about it but it is not
    very clear and I need to learn more.
    >
    What I gleaned is possible in this book is that the php code can encrypt
    data using the server's public key certificate before sending it to the
    database. Then the user, who has a private key created from that
    servers's public key, is the only one who can decrypt the data.
    >
    This is similar to the way Lotus Notes works with PKI and X.509 certs.
    This is exactly the same as how Lotus Notes works with PKI and x509 certs.
    >
    Any links or how-tos where I can learn more is MUCH appreciated!
    OMG, is Google down?

    Try the SSL certificates Howto, and the SSL functions in the PHP manual.

    C.

    Comment

    Working...