Can't find JDK bin directory for TLS support.

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

sankettandulwadkar gravatar image

Hi,

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: https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:TLSSupport and I am stuck on the

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

command.

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

Comments

Did you set your JAVA_HOME global variable?

icarocamelo ( 2015-08-27 10:30:09 -0800 )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 -0800 )edit