Re: How to perform keytool operation using Java code

2017-07-13 Thread Raghav
Thanks. On Thu, Jul 13, 2017 at 2:41 AM, Rajini Sivaram wrote: > Hi Raghav, > > You could take a look at https://github.com/apache/ > kafka/blob/trunk/clients/src/test/java/org/apache/kafka/ > test/TestSslUtils.java > > Regards, > > Rajini > > On Wed, Jul 12, 2017 at 10:23 PM, Raghav wrote: > >

Re: How to perform keytool operation using Java code

2017-07-13 Thread Rajini Sivaram
Hi Raghav, You could take a look at https://github.com/apache/kafka/blob/trunk/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java Regards, Rajini On Wed, Jul 12, 2017 at 10:23 PM, Raghav wrote: > Guys, Would anyone know about it ? > > On Tue, Jul 11, 2017 at 6:20 AM, Raghav wrote:

Re: How to perform keytool operation using Java code

2017-07-12 Thread Raghav
Guys, Would anyone know about it ? On Tue, Jul 11, 2017 at 6:20 AM, Raghav wrote: > Hi > > I followed https://kafka.apache.org/documentation/#security to create > keystore and trust store using Java Keytool. Now, I am looking to do the > same stuff programmatically using Java. I am struggling to

How to perform keytool operation using Java code

2017-07-11 Thread Raghav
Hi I followed https://kafka.apache.org/documentation/#security to create keystore and trust store using Java Keytool. Now, I am looking to do the same stuff programmatically using Java. I am struggling to find the right Java classes to perform following operations: 1. How to extract CSR from a ke