Guys, Would anyone know about it ? On Tue, Jul 11, 2017 at 6:20 AM, Raghav <raghavas...@gmail.com> 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 find the right > Java classes to perform following operations: > > 1. How to extract CSR from a keystore using Java classes ? > > 2. How to add a CA cert to a keystore using Java classes ? > > I tried to following http://docs.oracle.com/javase/6/docs/api/java/ > security/KeyStore.html#load%28java.io.InputStream,%20char%5B%5D%29 but > could not get answers. > > Any help here is greatly appreciated. > > Thanks. > > -- > Raghav > -- Raghav