-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][broker-web&websocket&proxy&function-worker] Full-support set ssl provider, ciphers and protocols #13740
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
Conversation
d7d57ca to
3a027f5
Compare
642124f to
ea13113
Compare
2aea92d to
fccc371
Compare
2581c78 to
74c462a
Compare
2c82a67 to
4f36929
Compare
|
/pulsarbot run-failure-checks |
tuteng
left a comment
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.
LGTM
michaeljmarshall
left a comment
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.
@nodece - would you please add a README.md file to the resources directories where the certificates and the .jks files are added explaining how they were created/generated? Adding this documentation will help any future troubleshooting that might be necessary for these tests, and it'll help someone verify the files, if they would like to do so. Thanks!
I've asked the question offline before. It looks like these binaries are copied from #13354 (I'm not sure why the sizes are a little different), whose documents will be added later. I'm just wondering that is there a good way to reference the same resources in two modules? |
Thanks for your point! I want to do this next PR, we have multiple public certificates and keystore file in Pulsar, these also need to improve. |
|
@eolivelli Could you help review this PR? |
eolivelli
left a comment
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.
LGTM
|
Thanks for clarifying @BewareMyPower and @nodece. It makes sense to add in another PR, especially if we have multiple resources to document. |
@michaeljmarshall Thanks, could you approve this PR? then I do these things. |
michaeljmarshall
left a comment
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.
LGTM
|
/pulsarbot rerun-failure-checks |
|
/pulsarbot run-failure-checks |
…t ssl provider, ciphers and protocols Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
|
Forch-pushed for rebase the master branch. |
|
/pulsarbot run-failure-checks |
…t ssl provider, ciphers and protocols (#13740) Fixes #13734 Pulsar doesn't set ssl provider, ciphers and protocols to the web, websocket and proxy service when `tlsEnabledWithKeyStore=false` - Add `org.apache.pulsar.jetty.tls` package in pulsar-broker-common for Jetty TLS support - Add a new `webServiceTlsProvider=Conscrypt` to broker and proxy config - Update `Conscrypt` as the `tlsProvider` value in websocket config In the old version, we implicitly use the `Conscrypt` provider, now we need to set it explicitly. (cherry picked from commit bf15e83)
…t ssl provider, ciphers and protocols (#13740) Fixes #13734 Pulsar doesn't set ssl provider, ciphers and protocols to the web, websocket and proxy service when `tlsEnabledWithKeyStore=false` - Add `org.apache.pulsar.jetty.tls` package in pulsar-broker-common for Jetty TLS support - Add a new `webServiceTlsProvider=Conscrypt` to broker and proxy config - Update `Conscrypt` as the `tlsProvider` value in websocket config In the old version, we implicitly use the `Conscrypt` provider, now we need to set it explicitly. (cherry picked from commit bf15e83)
…t ssl provider, ciphers and protocols (#13740) Fixes #13734 Pulsar doesn't set ssl provider, ciphers and protocols to the web, websocket and proxy service when `tlsEnabledWithKeyStore=false` - Add `org.apache.pulsar.jetty.tls` package in pulsar-broker-common for Jetty TLS support - Add a new `webServiceTlsProvider=Conscrypt` to broker and proxy config - Update `Conscrypt` as the `tlsProvider` value in websocket config In the old version, we implicitly use the `Conscrypt` provider, now we need to set it explicitly. (cherry picked from commit bf15e83)
…t ssl provider, ciphers and protocols (apache#13740) Fixes apache#13734 Pulsar doesn't set ssl provider, ciphers and protocols to the web, websocket and proxy service when `tlsEnabledWithKeyStore=false` - Add `org.apache.pulsar.jetty.tls` package in pulsar-broker-common for Jetty TLS support - Add a new `webServiceTlsProvider=Conscrypt` to broker and proxy config - Update `Conscrypt` as the `tlsProvider` value in websocket config In the old version, we implicitly use the `Conscrypt` provider, now we need to set it explicitly. (cherry picked from commit bf15e83) (cherry picked from commit fb0cb76)
…t ssl provider, ciphers and protocols (apache#13740) Fixes apache#13734 Pulsar doesn't set ssl provider, ciphers and protocols to the web, websocket and proxy service when `tlsEnabledWithKeyStore=false` - Add `org.apache.pulsar.jetty.tls` package in pulsar-broker-common for Jetty TLS support - Add a new `webServiceTlsProvider=Conscrypt` to broker and proxy config - Update `Conscrypt` as the `tlsProvider` value in websocket config In the old version, we implicitly use the `Conscrypt` provider, now we need to set it explicitly. (cherry picked from commit bf15e83) (cherry picked from commit b28f541)
Signed-off-by: Zixuan Liu nodeces@gmail.com
Fixes #13734
Motivation
Pulsar doesn't set ssl provider, ciphers and protocols to the web, websocket and proxy service when
tlsEnabledWithKeyStore=falseModifications
org.apache.pulsar.jetty.tlspackage in pulsar-broker-common for Jetty TLS supportwebServiceTlsProvider=Conscryptto broker and proxy configConscryptas thetlsProvidervalue in websocket configIn the old version, we implicitly use the
Conscryptprovider, now we need to set it explicitly.Documentation
Need to update docs?
doc-requiredEffected version