-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[pulsar-broker] add broker-bookie mTLS support #5042
Conversation
conf/broker.conf
Outdated
@@ -457,6 +457,34 @@ bookkeeperClientMinAvailableBookiesInIsolationGroups= | |||
# Disable Sticy Read until {@link https://github.com/apache/bookkeeper/issues/1970} is fixed | |||
bookkeeperEnableStickyReads=false | |||
|
|||
# Set the client security provider factory class name. | |||
# Default: org.apache.bookkeeper.tls.TLSContextFactory | |||
bookkeeperTLSProviderFactoryClass= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we set this to its default value?
conf/broker.conf
Outdated
bookkeeperTLSProviderFactoryClass= | ||
|
||
# Enable tls authentication with bookie | ||
bookkeeperTLSClientAuthentication= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bookkeeperTLSClientAuthentication= | |
bookkeeperTLSClientAuthentication=false |
conf/standalone.conf
Outdated
bookkeeperTLSProviderFactoryClass= | ||
|
||
# Enable tls authentication with bookie | ||
bookkeeperTLSClientAuthentication= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bookkeeperTLSClientAuthentication= | |
bookkeeperTLSClientAuthentication=false |
conf/standalone.conf
Outdated
@@ -280,6 +280,35 @@ bookkeeperClientSecondaryIsolationGroups= | |||
# else broker will include bookkeeperClientSecondaryIsolationGroups bookies in isolated list. | |||
bookkeeperClientMinAvailableBookiesInIsolationGroups= | |||
|
|||
# Set the client security provider factory class name. | |||
# Default: org.apache.bookkeeper.tls.TLSContextFactory | |||
bookkeeperTLSProviderFactoryClass= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bookkeeperTLSProviderFactoryClass= | |
bookkeeperTLSProviderFactoryClass=org.apache.bookkeeper.tls.TLSContextFactory |
rerun java8 tests |
Motivation
This PR will help to enable mTLS between broker and bookie. Broker can configure tls configuration to connect with bookie.