From commits-return-20195-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Tue Jan 8 21:22:34 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E00A4180652 for ; Tue, 8 Jan 2019 21:22:33 +0100 (CET) Received: (qmail 25973 invoked by uid 500); 8 Jan 2019 20:22:33 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 25964 invoked by uid 99); 8 Jan 2019 20:22:33 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2019 20:22:33 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] jai1 opened a new pull request #3334: Java Client - Add Bouncy Castle Provider to AuthenticationTls Message-ID: <154697895248.11999.16836580049394500431.gitbox@gitbox.apache.org> Date: Tue, 08 Jan 2019 20:22:32 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit jai1 opened a new pull request #3334: Java Client - Add Bouncy Castle Provider to AuthenticationTls URL: https://github.com/apache/pulsar/pull/3334 ### Motivation In order to load certain certs from RSA file, we need BouncyCastleProvider. Else you get an exception `java.security.KeyManagementException: Private key loading error` https://stackoverflow.com/questions/12365481/how-do-i-create-an-rsaprivatekey-instance-from-a-byte-array/12365548#12365548 ### Modifications Load BouncyCastleProvider in AuthenticationTls.java. ### Result We can load athens certs ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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