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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to