I have a FOSCAM FI8800P camera, installed the binding of @matt1 (https://community.openhab.org/t/ipcamera-new-ip-camera-binding/42771 ) and OpenHAB running with nearly last snapshot on a RasPi 3b.
Motion detection is triggered via item. This part works good!
But because the Disable motion switch of this binding clears all parameters of the detection area, Matt proposed in his entry in https://github.com/Skinah/IpCamera in the section Special notes for Foscam to use the HTTP/CGI commands to switch the cameras Motion Detection parameter. One example is:
I adopted this to my environment and can call the enable and disable motion detection from my PC’s browser.
And now the issue: the certificate of the camera is outdated and in Firefox I was able to add a manual excption. But on my RasPi I have no Firefox or other browser running (headless installation). And when now running the action sendHttpGetRequest in a rule with a https address it throws an error about the certificate.I got the existing certificate from my PC copied and installed on the RasPi, but it is outdated.
2018-11-09 14:37:48.459 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
Question: can I in any way install manually an exception like in Firefox via SSH terminal? Or can I trigger the sendHttpGetRequest to ignore SSH certificate errors (like it is possible with curl command)?