You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/12/30 10:03:57 UTC
[GitHub] [pulsar] BewareMyPower commented on issue #8963: NullPointerException Thrown Trying to Auth Client
BewareMyPower commented on issue #8963:
URL: https://github.com/apache/pulsar/issues/8963#issuecomment-752399455
Yeah, the docs of https://pulsar.apache.org/docs/en/security-tls-transport/#broker-configuration is old and will be updated soon.
The issue is with your TLS broker conf, you can see https://github.com/apache/pulsar/blob/459ba1ffd12d1aa20cbaea680cf396550314fd3c/pulsar-broker/src/test/java/org/apache/pulsar/client/api/TlsProducerConsumerBase.java#L62-L74 for the sample config.
```properties
brokerServicePortTls=<port-1>
webServicePortTls=<port-2>
tlsCertificateFilePath=<tls-server-cert-file-path>
tlsKeyFilePath=<tls-server-key-file-path>
tlsTrustCertsFilePath=<tls-trust-cert-file-path>
# this config is necessary
tlsRequireTrustedClientCertOnConnect=true
tlsProtocols=<tls-protocols>
```
And `tlsEnabled` is a deprecated config that is redundant when pls port is configured.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org