summaryrefslogtreecommitdiff
path: root/doc/Certificates.txt
blob: d4a278e3f486c6c2dc5f29d8f05d1adec7852799 (plain)
  1. Public Key Infrastructure (PKI)
  2. ===============================
  3. Hosts
  4. -----
  5. Host certificates can be either self-signed or signed by a CA. The
  6. private key can be either embedded into the same file as the certificate
  7. or in a separate file.
  8. The simplest form is a self-signed certificate with null-password
  9. embedded key.
  10. Beware that passwords for host certificates usually means you will need
  11. to manually start the services.
  12. Self-signed host certificates contain both certificate and key in same
  13. file. The file is placed in /etc/ssl/certs/ named by the service it
  14. provides appended ".pem".
  15. CA signed host certificates have separate public (certificate) and
  16. private (key) parts. The certificate is located as with self-signed
  17. ones, and keys are placed in /etc/ssl/private/ named similarly.
  18. The script /usr/share/local/localmksslcerts can be used to make
  19. self-signed certificates with embedded keys.
  20. Certificates should be chmod'ed 0444 and keys 0400.
  21. Certificate Authority
  22. ---------------------
  23. CA Certificates are divided in a public certificate and a private key.
  24. The CA certificate is placed in /etc/ssl/certs/ and named loosely by the
  25. CN of the organisation using digits [a-zA-Z0-9_-], appended "_CA.crt".
  26. Example: IT_guide_dr_Jones_CA.pem
  27. CA key is located in /etc/ssl/private/ equally named.
  28. Certificate is symlinked to "/etc/ssl/certs/cacert.pem" for easy
  29. locating by scripts.
  30. More info here: http://tirian.magd.ox.ac.uk/~nick/openssl-certs/ca.shtml
  31. Read here about confusion between commercial CAs and actual security:
  32. http://www.counterpane.com/pki-risks.html
  33. Like with hosts, certificates should be chmod'ed 0444 and keys 0400.
  34. Users
  35. -----
  36. Have a look at this web page:
  37. http://www.cise.ufl.edu/help/secure-access/ssl-mail-setup.shtml
  38. The script is at /usr/share/local/mycert, adapted to Debian GNU/Linux.
  39. --
  40. $Id: Certificates.txt,v 1.3 2002-12-31 02:31:21 jonas Exp $