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 2019/09/19 09:21:17 UTC
[GitHub] [pulsar] iravishah edited a comment on issue #5206:
TooLongFrameException : Adjusted frame length exceeds 5253120: 369295620 -
discarded => Error while producing message with TLS on standalone setup
iravishah edited a comment on issue #5206: TooLongFrameException : Adjusted frame length exceeds 5253120: 369295620 - discarded => Error while producing message with TLS on standalone setup
URL: https://github.com/apache/pulsar/issues/5206#issuecomment-533045354
@sijie I have followed [this](https://pulsar.apache.org/docs/en/security-tls-transport/) guide to generate certs for CA and Server.
**Standalone config**
`
brokerServicePort=6651
webServicePort=8443
tlsEnabled=true
tlsCertificateFilePath=/path/to/broker.cert.pem
tlsKeyFilePath=/home/path/to/broker.key-pk8.pem
tlsTrustCertsFilePath=/path/to/ca.cert.pem`
**Client config**
`
useTls=true
webServiceUrl=http://localhost:8443/
brokerServiceUrl=pulsar+ssl://localhost:6651/
authPlugin=org.apache.pulsar.client.impl.auth.AuthenticationTls
authParams=tlsCertFile:/path/to/broker.cert.pem,tlsKeyFile:/path/to/broker.key-pk8.pem
tlsAllowInsecureConnection=false
tlsEnableHostnameVerification=false
tlsTrustCertsFilePath=/path/to/ca.cert.pem`
----------------------------------------------------------------
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
With regards,
Apache Git Services