zmNinja icon indicating copy to clipboard operation
zmNinja copied to clipboard

Support for self-signed certificate

Open ktatar156 opened this issue 2 years ago • 6 comments

In my opinion, there should be option for accepting self-signed certificates - probably, plenty of us are using ZM for privacy reasons on self-hosted private small servers (without domain name, only IP). There is no simple way to get for free global trusted certificate for IP address.... Please look also at this thread: https://forums.zoneminder.com/viewtopic.php?t=32840

ktatar156 avatar Nov 13 '23 14:11 ktatar156

What exactly is not working here?

I ask because it works fine with a selfsigned cert on my server. You just need to have "Enable Strict SSL Checks" disabled.

mattcaron avatar Aug 24 '25 17:08 mattcaron

I have the same option disabled. When I play the video via 'Scrub' button - it works fine.

[image: 1000004588.png] but when I click on that event, I'm getting the black screen as below.

[image: 1000004589.png] [image: 1000004590.png]

niedz., 24 sie 2025 o 19:15 Matthew Caron @.***> napisał(a):

mattcaron left a comment (ZoneMinder/zmNinja#1116) https://github.com/ZoneMinder/zmNinja/issues/1116#issuecomment-3218247182

What exactly is not working here?

I ask because it works fine with a selfsigned cert on my server. You just need to have "Enable Strict SSL Checks" disabled.

— Reply to this email directly, view it on GitHub https://github.com/ZoneMinder/zmNinja/issues/1116#issuecomment-3218247182, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDRWKTVH4IO4NKD72VFPFL3PHXLTAVCNFSM6AAAAACEV2D7TKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJYGI2DOMJYGI . You are receiving this because you authored the thread.Message ID: @.***>

ktatar156 avatar Aug 25 '25 06:08 ktatar156

You have got to be joking.

I have the same issue and have been chasing it for about 5 hours. The only clue is an error in the logs saying that it can't find the socket - which looks to be created and then destroyed pretty much immediately. I was assuming it was some sort of weird race condition. It never occurred to me that it would be an SSL issue because everything else is working perfectly.

Thank you for this insight. I'm going to verify this by setting up a Let's Encrypt cert on that box the next time I have a free block of time (which is likely going to be a week or two). Once I do so, I'll close the loop on this.

mattcaron avatar Aug 25 '25 16:08 mattcaron

My last message was related to another bug (sorry for misinterpretation) - that I cannot play events - it's probably not related to the SSL (I hope so). The original bug is quite old, probably to be closed?

ktatar156 avatar Aug 25 '25 19:08 ktatar156

What is the other bug? As you can imagine, I am very interested in following it.

mattcaron avatar Aug 25 '25 19:08 mattcaron

https://github.com/ZoneMinder/zmNinja/issues/1153

ktatar156 avatar Aug 25 '25 19:08 ktatar156