MaddBomber83 Posted June 4, 2014 Posted June 4, 2014 Hello; I have a device on my network that responds to REST requests. Using the Advanced Rest Client Chrome Extention I'm able to get things working properly. Using the ISY's interface, I can not get it to work. In Chrome: https://IP_Address /config.php Authorization: Basic randomeLETTERSandNUMBERS Body: setsysload=9 Request headers User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo Authorization: Basic randomeLETTERSandNUMBERS Content-Type: application/x-www-form-urlencoded Accept: */* DNT: 1 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Cookie: PHPSESSID=o5tpeu6nsq6nfkqs3bl78ju854 headers Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-type: text/html Transfer-Encoding: chunked Date: Wed, 04 Jun 2014 21:45:46 GMT Server: lighttpd/1.4.34 Doing it in ISY I just get a request failed. Now, if I change it to HTTP in isy I get a resource moved; which is correct as you get a permanent redirect to the HTTPS address. Any idea on how to troubleshoot further?
MWareman Posted June 4, 2014 Posted June 4, 2014 Was the certificate on your lighttpd HTTPS server issued by a well known (paid) CA like Thawte or Verisign? If not, your probably running into a certificate trust issue. You can relax the SSL client settings in ISY Dashboard, but it would be better to have a SSL cert on your Lighttpd server that's trusted by ISY. Either that, or exempt your ISY from the SSL redirect....
MaddBomber83 Posted June 5, 2014 Author Posted June 5, 2014 I'll have to look into this a bit more then. When I hit manage certificates on ISY it just brings me to PDF that I'll have to read later. As for certificats I use CAcert.org for mine. But this particular piece of equipment does not have a very good interface.
MWareman Posted June 5, 2014 Posted June 5, 2014 Make sure you are using the Dashboard (correct version for your running code version) to manage certificates - not the admin console or the http interface.
MWareman Posted June 5, 2014 Posted June 5, 2014 To run the dashboard, try this link if you are running 4.2.3: http://isy.universal-devices.com/994i/4 ... board.jnlp
Xathros Posted June 5, 2014 Posted June 5, 2014 I'm not sure that I fully understand the exchange in the OP but it looks like there may be a session cookie involved which I believe is not supported by the ISY. -Xathros
Recommended Posts