Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc improvments? #523

Merged
merged 0 commits into from
Jun 29, 2018
Merged

Doc improvments? #523

merged 0 commits into from
Jun 29, 2018

Conversation

tombentley
Copy link
Member

Type of change

Select the type of your PR

  • Bugfix
  • Enhancement / new feature
  • Refactoring

Description

Please describe your pull request

Checklist

Please go through this checklist and make sure all applicable tasks have been done

  • Write tests
  • Make sure all tests pass
  • Update documentation
  • Check RBAC rights for Kubernetes / OpenShift roles
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The overall changes are fine but I have few comments.

The Cluster Operator is in charge to setting up the SSL/TLS infrastructure by means of certificates for providing the security.
The Apache Kafka project supports data encryption by means of the SSL/TLS protocol.
This makes it possible to encrypt data transferred between brokers (interbroker communication) and between clients and brokers.
Leveraging the SSL/TLS support, it is also possible to have mutual authentication, where the Kafka broker authenticates the client's certificate, and the client authenticates the server's certificate.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"authenticates the client's certificate" sounds strange to me ...
It should be more "authenticates the client" or "verifies/validates the certificates" , or ?

* `<cluster-name>-kafka-brokers-internal`: it contains all the brokers private and public keys (certificates signed with "internal-ca") used for intra cluster communication.
* `<cluster-name>-kafka-brokers-clients`: it contains all the brokers private and public keys (certificates signed with specific cluster "clients-ca") used for communicating with clients.
* `internal-ca`: contains the private and public keys, so the self-signed certificate, used for signing broker certificates used for interbroker communication. It is common to all the Kafka clusters deployed by the Cluster Operator.
* `<cluster-name>-kafka-clients-ca`: contains the private and public keys, so the self-signed certificate, used for signing broker certificates used for communicating with clients. It iss specific for each deployed Kafka cluster as specified in the <cluster-name> prefix.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo "iss"


=== Clients connection via TLS

If the Kafka client wants to connect to the encrypted listener (CLIENTTLS) on port 9093, it needs the clients CA certificate in order to validate the broker certificate received during the SSL/TLS handshake (server authentication).
If a Kafka client wants to connect to the encrypted listener (CLIENTTLS) on port 9093, it needs to trust the clients CA certificate in order to authentics the broker certificate received during the SSL/TLS handshake.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still here I have a doubt about the verb "authenticate" and the "certificate"

ssl.truststore.password=test1234
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the difference that GitHub shows me here ? :-)

@ppatierno ppatierno merged this pull request into tls-support Jun 29, 2018
@ppatierno ppatierno deleted the tls-doc-changes branch June 29, 2018 11:23
ppatierno added a commit that referenced this pull request Jul 2, 2018
Removed TODO about copy_extensions

Added raising exception if internal CA certificate Secret is missing
Changed log level to DEBUG for the openssl command output

Doc improvments? (#523)

* Doc improvments?

* Update security.adoc

* Update security.adoc

Splitted in different scripts certs import into keystore/truststore
Addresses feedback about security doc

Last doc fix
ppatierno added a commit that referenced this pull request Jul 2, 2018
Removed TODO about copy_extensions

Added raising exception if internal CA certificate Secret is missing
Changed log level to DEBUG for the openssl command output

Doc improvments? (#523)

* Doc improvments?

* Update security.adoc

* Update security.adoc

Splitted in different scripts certs import into keystore/truststore
Addresses feedback about security doc

Last doc fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants