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
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?