{"action":"created","comment":{"url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/comments/222248558","pull_request_review_id":161014617,"id":222248558,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjI0ODU1OA==","diff_hunk":"@@ -0,0 +1,42 @@\n+// Module included in the following assemblies:\n+//\n+// assembly-kafka-encryption-and-authentication.adoc\n+\n+[id='proc-kafka-enable-tls-client-authentication-{context}']\n+\n+= Enabling TLS client authentication\n+\n+This procedure will show you how to enable TLS client authentication in Kafka brokers.\n+\n+.Prerequisites\n+\n+* AMQ Streams is xref:proc-installing-amq-streams-{context}[installed] on all hosts which will be used as Kafka brokers.\n+* TLS encryption is xref:proc-kafka-enable-tls-encryption-{context}[enabled].\n+\n+.Enabling TLS client authentication\n+\n+. Prepare a JKS truststore containing the public key of the certification authority used to sign the user certificates.\n+\n+. Edit the `/opt/kafka/config/server.properties` Kafka configuration file on all cluster nodes for the following:\n++\n+\n+* Set the `ssl.truststore.location` option to the path to the JKS truststore with the certification authority of the user certificates.\n+* Set the `ssl.truststore.password` option to the password you used to protect the truststore.\n+* Set the `ssl.client.auth` option to `required`.\n++\n+For example:\n++\n+[source]\n+----\n+ssl.truststore.location=/path/to/truststore.jks\n+ssl.truststore.password=123456\n+ssl.client.auth=required\n+----\n+\n+. (Re)start the Kafka brokers\n+\n+.Additional resources\n+\n+* For more information about configuring AMQ Streams, see xref:proc-configuring-amq-streams-{context}[].\n+* For more information about running a Kafka cluster, see xref:proc-running-multinode-kafka-cluster-{context}[].\n+* For more information about configuring TLS client authentication in clients, see xref:producer-configuration-parameters-{context}[] and xref:consumer-configuration-parameters-{context}[].","path":"books/proc-kafka-enable-tls-client-authentication.adoc","position":42,"original_position":42,"commit_id":"d19c42537ae8c8e193f5619d99b9467c3dc18429","original_commit_id":"d19c42537ae8c8e193f5619d99b9467c3dc18429","user":{"login":"dmuntima","id":29940170,"node_id":"MDQ6VXNlcjI5OTQwMTcw","avatar_url":"https://avatars0.githubusercontent.com/u/29940170?v=4","gravatar_id":"","url":"https://api.github.com/users/dmuntima","html_url":"https://github.com/dmuntima","followers_url":"https://api.github.com/users/dmuntima/followers","following_url":"https://api.github.com/users/dmuntima/following{/other_user}","gists_url":"https://api.github.com/users/dmuntima/gists{/gist_id}","starred_url":"https://api.github.com/users/dmuntima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmuntima/subscriptions","organizations_url":"https://api.github.com/users/dmuntima/orgs","repos_url":"https://api.github.com/users/dmuntima/repos","events_url":"https://api.github.com/users/dmuntima/events{/privacy}","received_events_url":"https://api.github.com/users/dmuntima/received_events","type":"User","site_admin":false},"body":"\r\n\r\nThe output of the xrefs is incorrect when I view the output of the file [1]. Please check.\r\n\r\n[1] https://github.com/rh-messaging/amq-streams-docs/blob/d19c42537ae8c8e193f5619d99b9467c3dc18429/books/proc-kafka-enable-tls-client-authentication.adoc\r\n","created_at":"2018-10-03T09:49:47Z","updated_at":"2018-10-03T09:54:34Z","html_url":"https://github.com/rh-messaging/amq-streams-docs/pull/13#discussion_r222248558","pull_request_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/comments/222248558"},"html":{"href":"https://github.com/rh-messaging/amq-streams-docs/pull/13#discussion_r222248558"},"pull_request":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13","id":218804793,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4ODA0Nzkz","html_url":"https://github.com/rh-messaging/amq-streams-docs/pull/13","diff_url":"https://github.com/rh-messaging/amq-streams-docs/pull/13.diff","patch_url":"https://github.com/rh-messaging/amq-streams-docs/pull/13.patch","issue_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/13","number":13,"state":"open","locked":false,"title":"Add encryption and authentication","user":{"login":"scholzj","id":5658439,"node_id":"MDQ6VXNlcjU2NTg0Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/5658439?v=4","gravatar_id":"","url":"https://api.github.com/users/scholzj","html_url":"https://github.com/scholzj","followers_url":"https://api.github.com/users/scholzj/followers","following_url":"https://api.github.com/users/scholzj/following{/other_user}","gists_url":"https://api.github.com/users/scholzj/gists{/gist_id}","starred_url":"https://api.github.com/users/scholzj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholzj/subscriptions","organizations_url":"https://api.github.com/users/scholzj/orgs","repos_url":"https://api.github.com/users/scholzj/repos","events_url":"https://api.github.com/users/scholzj/events{/privacy}","received_events_url":"https://api.github.com/users/scholzj/received_events","type":"User","site_admin":false},"body":"This PR adds a new docu section about Kafka encryption and authentication.","created_at":"2018-09-27T22:18:56Z","updated_at":"2018-10-03T09:54:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4294feee03b034984b9ae254872efbc4778bd088","assignee":{"login":"dmuntima","id":29940170,"node_id":"MDQ6VXNlcjI5OTQwMTcw","avatar_url":"https://avatars0.githubusercontent.com/u/29940170?v=4","gravatar_id":"","url":"https://api.github.com/users/dmuntima","html_url":"https://github.com/dmuntima","followers_url":"https://api.github.com/users/dmuntima/followers","following_url":"https://api.github.com/users/dmuntima/following{/other_user}","gists_url":"https://api.github.com/users/dmuntima/gists{/gist_id}","starred_url":"https://api.github.com/users/dmuntima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmuntima/subscriptions","organizations_url":"https://api.github.com/users/dmuntima/orgs","repos_url":"https://api.github.com/users/dmuntima/repos","events_url":"https://api.github.com/users/dmuntima/events{/privacy}","received_events_url":"https://api.github.com/users/dmuntima/received_events","type":"User","site_admin":false},"assignees":[{"login":"dmuntima","id":29940170,"node_id":"MDQ6VXNlcjI5OTQwMTcw","avatar_url":"https://avatars0.githubusercontent.com/u/29940170?v=4","gravatar_id":"","url":"https://api.github.com/users/dmuntima","html_url":"https://github.com/dmuntima","followers_url":"https://api.github.com/users/dmuntima/followers","following_url":"https://api.github.com/users/dmuntima/following{/other_user}","gists_url":"https://api.github.com/users/dmuntima/gists{/gist_id}","starred_url":"https://api.github.com/users/dmuntima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmuntima/subscriptions","organizations_url":"https://api.github.com/users/dmuntima/orgs","repos_url":"https://api.github.com/users/dmuntima/repos","events_url":"https://api.github.com/users/dmuntima/events{/privacy}","received_events_url":"https://api.github.com/users/dmuntima/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1040357696,"node_id":"MDU6TGFiZWwxMDQwMzU3Njk2","url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/labels/peer%20review%20needed","name":"peer review needed","color":"FEC934","default":false},{"id":1040357964,"node_id":"MDU6TGFiZWwxMDQwMzU3OTY0","url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/labels/sme%20review%20done","name":"sme review done","color":"DD421B","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13/commits","review_comments_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13/comments","review_comment_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/13/comments","statuses_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/statuses/d19c42537ae8c8e193f5619d99b9467c3dc18429","head":{"label":"rh-messaging:enc-and-auth","ref":"enc-and-auth","sha":"d19c42537ae8c8e193f5619d99b9467c3dc18429","user":{"login":"rh-messaging","id":13945201,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQ1MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/13945201?v=4","gravatar_id":"","url":"https://api.github.com/users/rh-messaging","html_url":"https://github.com/rh-messaging","followers_url":"https://api.github.com/users/rh-messaging/followers","following_url":"https://api.github.com/users/rh-messaging/following{/other_user}","gists_url":"https://api.github.com/users/rh-messaging/gists{/gist_id}","starred_url":"https://api.github.com/users/rh-messaging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rh-messaging/subscriptions","organizations_url":"https://api.github.com/users/rh-messaging/orgs","repos_url":"https://api.github.com/users/rh-messaging/repos","events_url":"https://api.github.com/users/rh-messaging/events{/privacy}","received_events_url":"https://api.github.com/users/rh-messaging/received_events","type":"Organization","site_admin":false},"repo":{"id":146594356,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY1OTQzNTY=","name":"amq-streams-docs","full_name":"rh-messaging/amq-streams-docs","private":false,"owner":{"login":"rh-messaging","id":13945201,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQ1MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/13945201?v=4","gravatar_id":"","url":"https://api.github.com/users/rh-messaging","html_url":"https://github.com/rh-messaging","followers_url":"https://api.github.com/users/rh-messaging/followers","following_url":"https://api.github.com/users/rh-messaging/following{/other_user}","gists_url":"https://api.github.com/users/rh-messaging/gists{/gist_id}","starred_url":"https://api.github.com/users/rh-messaging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rh-messaging/subscriptions","organizations_url":"https://api.github.com/users/rh-messaging/orgs","repos_url":"https://api.github.com/users/rh-messaging/repos","events_url":"https://api.github.com/users/rh-messaging/events{/privacy}","received_events_url":"https://api.github.com/users/rh-messaging/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rh-messaging/amq-streams-docs","description":"Documentation for AMQ Streams on RHEL","fork":false,"url":"https://api.github.com/repos/rh-messaging/amq-streams-docs","forks_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/forks","keys_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/teams","hooks_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/hooks","issue_events_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/events{/number}","events_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/events","assignees_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/assignees{/user}","branches_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/branches{/branch}","tags_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/tags","blobs_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/languages","stargazers_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/stargazers","contributors_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/contributors","subscribers_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/subscribers","subscription_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/subscription","commits_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/contents/{+path}","compare_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/merges","archive_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/downloads","issues_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues{/number}","pulls_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/labels{/name}","releases_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/releases{/id}","deployments_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/deployments","created_at":"2018-08-29T12:08:48Z","updated_at":"2018-10-02T19:01:33Z","pushed_at":"2018-10-02T19:01:31Z","git_url":"git://github.com/rh-messaging/amq-streams-docs.git","ssh_url":"git@github.com:rh-messaging/amq-streams-docs.git","clone_url":"https://github.com/rh-messaging/amq-streams-docs.git","svn_url":"https://github.com/rh-messaging/amq-streams-docs","homepage":null,"size":239,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"rh-messaging:master","ref":"master","sha":"4a5f6ac6652b155388bf948eb1d9442d80d14e0f","user":{"login":"rh-messaging","id":13945201,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQ1MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/13945201?v=4","gravatar_id":"","url":"https://api.github.com/users/rh-messaging","html_url":"https://github.com/rh-messaging","followers_url":"https://api.github.com/users/rh-messaging/followers","following_url":"https://api.github.com/users/rh-messaging/following{/other_user}","gists_url":"https://api.github.com/users/rh-messaging/gists{/gist_id}","starred_url":"https://api.github.com/users/rh-messaging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rh-messaging/subscriptions","organizations_url":"https://api.github.com/users/rh-messaging/orgs","repos_url":"https://api.github.com/users/rh-messaging/repos","events_url":"https://api.github.com/users/rh-messaging/events{/privacy}","received_events_url":"https://api.github.com/users/rh-messaging/received_events","type":"Organization","site_admin":false},"repo":{"id":146594356,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY1OTQzNTY=","name":"amq-streams-docs","full_name":"rh-messaging/amq-streams-docs","private":false,"owner":{"login":"rh-messaging","id":13945201,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQ1MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/13945201?v=4","gravatar_id":"","url":"https://api.github.com/users/rh-messaging","html_url":"https://github.com/rh-messaging","followers_url":"https://api.github.com/users/rh-messaging/followers","following_url":"https://api.github.com/users/rh-messaging/following{/other_user}","gists_url":"https://api.github.com/users/rh-messaging/gists{/gist_id}","starred_url":"https://api.github.com/users/rh-messaging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rh-messaging/subscriptions","organizations_url":"https://api.github.com/users/rh-messaging/orgs","repos_url":"https://api.github.com/users/rh-messaging/repos","events_url":"https://api.github.com/users/rh-messaging/events{/privacy}","received_events_url":"https://api.github.com/users/rh-messaging/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rh-messaging/amq-streams-docs","description":"Documentation for AMQ Streams on RHEL","fork":false,"url":"https://api.github.com/repos/rh-messaging/amq-streams-docs","forks_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/forks","keys_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/teams","hooks_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/hooks","issue_events_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/events{/number}","events_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/events","assignees_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/assignees{/user}","branches_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/branches{/branch}","tags_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/tags","blobs_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/languages","stargazers_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/stargazers","contributors_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/contributors","subscribers_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/subscribers","subscription_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/subscription","commits_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/contents/{+path}","compare_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/merges","archive_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/downloads","issues_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues{/number}","pulls_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/labels{/name}","releases_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/releases{/id}","deployments_url":"https://api.github.com/repos/rh-messaging/amq-streams-docs/deployments","created_at":"2018-08-29T12:08:48Z","updated_at":"2018-10-02T19:01:33Z","pushed_at":"2018-10-02T19:01:31Z","git_url":"git://github.com/rh-messaging/amq-streams-docs.git","ssh_url":"git@github.com:rh-messaging/amq-streams-docs.git","clone_url":"https://github.com/rh-messaging/amq-streams-docs.git","svn_url":"https://github.com/rh-messaging/amq-streams-docs","homepage":null,"size":239,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13"},"html":{"href":"https://github.com/rh-messaging/amq-streams-docs/pull/13"},"issue":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/13"},"comments":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/rh-messaging/amq-streams-docs/statuses/d19c42537ae8c8e193f5619d99b9467c3dc18429"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dmuntima"}}