[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-541765194 @liangyuanpeng From the error looks like you're connecting with TLS to a non TLS port. Typically, the TLS port is `6651`, so the URL should be `pulsar+ssl://192.168.1.11:6651` 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
[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: us...@infra.apache.org With regards, Apache Git Services