97arushisharma commented on issue #7287:
URL: https://github.com/apache/pulsar/issues/7287#issuecomment-645808888


   I tried recreating the admin and broker certificate with respective 
common-name as `admin` and `localhost`, just to be sure I am not doing anything 
wrong. I also added all the TLS AUTH related properties in 
`functions_worker.yml`, but I am still getting the above error.
   ```
   authenticationEnabled: true
   authorizationEnabled: true
   authenticationProviders:
       - "org.apache.pulsar.broker.authentication.AuthenticationProviderTls"
   authorizationProvider: 
"org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider"
   superUserRoles:
       - admin
   tlsEnabled: true
   tlsCertificateFilePath: "/home/sqlstream/Downloads/my-ca/admin.cert.pem"
   tlsKeyFilePath: "/home/sqlstream/Downloads/my-ca/admin.key-pk8.pem" 
   tlsTrustCertsFilePath: "/home/sqlstream/Downloads/my-ca/certs/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:
[email protected]


Reply via email to