Can't find JDK bin directory for TLS support.

asked 2015-07-28 14:24:18 -0700

sankettandulwadkar gravatar image


I am trying to add TLS support to ODL. My connection works for TCP but fails for SSL. I believe I am not configuring the keys correcting on the ODL side. I am following: and I am stuck on the

keytool -importkeystore \ -deststorepass opendaylight -destkeypass opendaylight -destkeystore ctl.jks \ -srckeystore ctl.p12 -srcstoretype PKCS12 -srcstorepass opendaylight \ -alias odlserver


I dont understand which one to use here:

sanket@sanket-ubuntu-odl:/usr/lib/jvm$ ls default-java java-1.7.0-openjdk-amd64 java-7-openjdk-amd64 sanket@sanket-ubuntu-odl:/usr/lib/jvm$

1.7.0 or 7? And if I chose either, there is JRE folder inside which also has a keytool. I am confused as to which key tool to use.

Does anyone have a better idea on this?

edit retag flag offensive close merge delete


Did you set your JAVA_HOME global variable?

icarocamelo ( 2015-08-27 10:30:09 -0700 )edit

No, I have not. But I believe I found it. I can make correct keys using keytool.

sankettandulwadkar ( 2015-08-27 11:04:55 -0700 )edit