security-files-reference.asciidoc 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. [role="exclude"]
  2. ===== Security certificates and keys
  3. When you install {es}, the following certificates and keys are
  4. generated in the {es} configuration directory, which are used to connect a {kib}
  5. instance to your secured {es} cluster and to encrypt internode communication.
  6. The files are listed here for reference.
  7. `http_ca.crt`::
  8. The CA certificate that is used to sign the certificates for the HTTP layer of
  9. this {es} cluster.
  10. `http.p12`::
  11. Keystore that contains the key and certificate for the HTTP layer for this node.
  12. `transport.p12`::
  13. Keystore that contains the key and certificate for the transport layer for all
  14. the nodes in your cluster.
  15. `http.p12` and `transport.p12` are password-protected PKCS#12 keystores. {es}
  16. stores the passwords for these keystores as <<secure-settings,secure
  17. settings>>. To retrieve the passwords so that you can inspect or change the
  18. keystore contents, use the
  19. <<elasticsearch-keystore,`bin/elasticsearch-keystore`>> tool.
  20. Use the following command to retrieve the password for `http.p12`:
  21. [source,sh]
  22. -------------------------
  23. bin/elasticsearch-keystore show xpack.security.http.ssl.keystore.secure_password
  24. -------------------------
  25. Use the following command to retrieve the password for `transport.p12`:
  26. [source,sh]
  27. -------------------------
  28. bin/elasticsearch-keystore show xpack.security.transport.ssl.keystore.secure_password
  29. -------------------------