thomaeschen commented on issue #12313:
URL: https://github.com/apache/pulsar/issues/12313#issuecomment-970282821


   Hi iMine,
   
   1. You activate the parameter "tlsRequireTrustedClientCertOnConnect=true" in 
the broker.conf and it means that you must provide the client certificate to 
the server for the mutual authentication.
   2. Following point 1, you need to set the two parameters in the client.conf 
to provide the certificate . The two parameters are like as follow :
   ### a. authPlugin=org.apache.pulsar.client.impl.auth.AuthenticationTls'''
   ### b. 
authParams={"tlsCertFile":"/pulsar/main/apache-pulsar-2.8.1/certs/client.cert.pem","tlsKeyFile":"/pulsar/main/apache-pulsar-2.8.1/certs/client.key.pem"}
 '''
   
   This is how I solved the issue and hope you can also solve it.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to