Refreshing Image URL with https/SSL and self-signed cert

Posted on
Sun Jan 13, 2019 2:12 pm
ZachBenz offline
Posts: 92
Joined: Feb 08, 2014

Refreshing Image URL with https/SSL and self-signed cert

Hi all,

I have a control page set up with a Refreshing Image URL pointing to a continuously refreshing image from a SecuritySpy camera, with SecuritySpy set up to serve a web interface - port 8001 for HTTP, and 8002 for HTTPS

e.g, the URL is something like:
http://username:password@127.0.0.1:8001 ... t=1080&401

With the refresh rate set to Continuous and the Image Size set to 1920x1080.

And this works great.

Now, if I instead use an https connection:
https://username:password@127.0.0.1:800 ... t=1080&401

I see errors in the Indigo log:
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

The problem being that SecuritySpy uses a self-signed certificate.

I don't see an obvious way to either disable the certificate check for the Refreshing Image URL or to permanently add the self-signed certificate as trusted (it is already trusted at the system level via the macOS Keychain, but that trust chain doesn't appear to be used by Indigo). Is there a way to do either? I'd like to only run the SecuritySpy HTTPS server, and disable the HTTP one.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests