openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

How to ignore SSL check for sendTelegramPhoto? #5864

Closed joshuakoh7 closed 5 years ago

joshuakoh7 commented 5 years ago

I'm trying to send a currentpic.cgi capture from my IP cam that requires authentication over a self-signed SSL. Running into the following error. How do I turn off the SSL check that I can easily skip when I'm using a browser?

Transport error: {}

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
9037568 commented 5 years ago

You should ask this question in the community forum. Or better, search the forum for this error. It may already have suggestions for you.

joshuakoh7 commented 5 years ago

It's not a question, there needs to be an option to disable SSL checking. The only workaround right now is to reverse proxy it through nginx to strip away https which is counterproductive for a camera.