unable to make SSL Restconf connection
A Vamsikrishna
Hi Ryan & All,
Below are my observations:
[2018-01-02 21:27.06] ~ [egjmnnq.PF0KDF1U] ➤ curl -l http://192.168.56.1:8181/restconf/ --user admin:admin ✔ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── [2018-01-02 21:29.59] ~ [egjmnnq.PF0KDF1U] ➤ curl -l https://192.168.56.1:8443/restconf/ --user admin:admin curl: (28) Connection timed out after 300040 milliseconds ✘ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── [2018-01-02 21:35.11] ~ [egjmnnq.PF0KDF1U] ➤
And I haven’t modified jetty.xml . Do I need to modify jetty.xml ??
Reattaching the jetty.xml again.
Thanks, Vamsi
From: Ryan Goulding [mailto:ryandgoulding@...]
This code is actually not AAA specific... org.ops4j.pax.web.cfg is laid down by karaf, which is provided by odlparent, so adding in that mailing list.
It looks like you aren't following those instructions quite based on the fact that your files seem to be very different from what the wiki steps state. Are you modifying them in some way?
What do you receive for a response code? Or do you not receive on at all? In the latter case, it would imply that something isn't configured correctly in the jetty.xml file. I'd suggest turning on logging and taking a look at what happens when you install "odl-mdsal-apidocs". If the "addConnector" directive is incorrect, the secure port won't ever be opened.
Hope this helps.
Regards,
On Tue, Jan 2, 2018 at 10:07 AM, A Vamsikrishna <a.vamsikrishna@...> wrote:
|
|
Ryan Goulding <ryandgoulding@...>
This code is actually not AAA specific... org.ops4j.pax.web.cfg is laid down by karaf, which is provided by odlparent, so adding in that mailing list. It looks like you aren't following those instructions quite based on the fact that your files seem to be very different from what the wiki steps state. Are you modifying them in some way? But SSL RESTCONF connection is not opening What do you receive for a response code? Or do you not receive on at all? In the latter case, it would imply that something isn't configured correctly in the jetty.xml file. I'd suggest turning on logging and taking a look at what happens when you install "odl-mdsal-apidocs". If the "addConnector" directive is incorrect, the secure port won't ever be opened. Hope this helps. Regards, Ryan Goulding On Tue, Jan 2, 2018 at 10:07 AM, A Vamsikrishna <a.vamsikrishna@...> wrote:
|
|
A Vamsikrishna
Hi All,
I am following below wiki for making SSL RETCONF:
https://wiki.opendaylight.org/view/OpenDaylight_Controller:SSL_RestConf
http://192.168.56.1:8181/apidoc/explorer/index.html is opening properly.
But SSL RESTCONF connection is not opening
https://192.168.56.1:8443/apidoc/explorer/index.html
PFA for the changed custom.properties and jetty.xml
Can you please help me out on this ?
Let me know if you need any info from side to fix this issue.
Thanks, Vamsi
|
|