Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Can't find JDK bin directory for TLS support.

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?