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/10/09 16:45:38 UTC
[GitHub] [pulsar] merlimat commented on issue #5348: Load tls file fail on
Windows
merlimat commented on issue #5348: Load tls file fail on Windows
URL: https://github.com/apache/pulsar/issues/5348#issuecomment-540086629
One workaround is to use the preferred way to add the TLS auth, like:
```java
PulsarClient client = PulsarClient.builder()
.tlsTrustCertsFilePath(".....")
.authentication(AuthentiationFactory.TLS(
"H:\\pulsar\\ssl\\1.11\\admin.cert.pem",
"H:\\pulsar\\ssl\\1.11\\admin.key-pk8.pem")
.serviceUrl(localClusterUrl)
.build();
```
(The docs should be updated to suggest this form by default)
----------------------------------------------------------------
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