Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone, I have a quick/newb question: I know that a public key is used to encrypt data and a private key is used to decrypt data but who keeps ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    1

    Apache SSL Public key/Private question


    Hi everyone,
    I have a quick/newb question:

    I know that a public key is used to encrypt data and a private key is used to decrypt data but who keeps the public/private keys??

    Does the Web Server hold both?
    Does the Web Server have the public key and does the client have the private key?
    Does the Client have both?

    When I create a key using the openssl command (e.g. openssl genrsa -des3 -out server.key 4096) is that the private or public key??

    Please help, thanks.

  2. #2
    Linux Newbie
    Join Date
    Feb 2009
    Posts
    101
    server use private key
    client download public key automatic if client log into https .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •