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

HTTPS for ODL's REST interfaces

Hi,

I am trying to add HTTPS for ODL's REST interfaces. I am following this link.

http://www.frank-durr.de/?p=75

I have created the KeyStore and put the path in configuration/tomcat-server.xml file in the "connector" section. I am not able to connect to port 8443. The port is not even up for some reason. Why is that so?

Restconf is up on 8181

sanket@sanket-ubuntu-odl:~$ curl -I -v http://localhost:8181/restconf/ * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 8181 (#0)

HEAD /restconf/ HTTP/1.1 User-Agent: curl/7.37.1 Host: localhost:8181 Accept: /

< HTTP/1.1 401 Unauthorized HTTP/1.1 401 Unauthorized < WWW-Authenticate: Basic realm="opendaylight" WWW-Authenticate: Basic realm="opendaylight" < Content-Type: text/html;charset=ISO-8859-1 Content-Type: text/html;charset=ISO-8859-1 < Cache-Control: must-revalidate,no-cache,no-store Cache-Control: must-revalidate,no-cache,no-store < Content-Length: 1380 Content-Length: 1380 * Server Jetty(8.1.15.v20140411) is not blacklisted < Server: Jetty(8.1.15.v20140411) Server: Jetty(8.1.15.v20140411)

< * Connection #0 to host localhost left intact

But I dont see port 8443 up.

Here is the tomcat-server.xml

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS"
           keystoreFile="/home/sanket/KeyStore"
           keystorePass="changeit"/>

Am I missing something?