pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] roackb2 commented on issue #5598: Proxy Websocket authentication using websocket in browser
Date Sun, 26 Jul 2020 09:07:26 GMT

roackb2 commented on issue #5598:
URL: https://github.com/apache/pulsar/issues/5598#issuecomment-663961883


   I solved my own issue.
   Since I'm running in standalone mode, but the `standalone.conf` template lacks of some
options. I have to manually add following configurations in the conf file:
   ```
   brokerClientTlsEnabled=true
   brokerClientAuthenticationPlugin=org.apache.pulsar.client.impl.auth.AuthenticationToken
   brokerClientAuthenticationParameters=file://pat/to/admin-token
   brokerClientTrustCertsFilePath=path/to/ca.cert.pem
   ```
   This would make WebSocket successfully establish secure connection with authorization enabled.


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



Mime
View raw message