no videos are displayed since i use SSL / HTTPS ...

Forum for questions and support relating to the 1.30.x releases only.
Locked
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

no videos are displayed since i use SSL / HTTPS ...

Post by eric29 »

Hi Guys,

Since i use SSL / https i can't see the cameras videos anymore. The console works but without these images/videos.

Same thing using zmninja.

Any idea ?

Thanks,

eric
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: no videos are displayed since i use SSL / HTTPS ...

Post by bbunge »

Linux distro and version, please.
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Re: no videos are displayed since i use SSL / HTTPS ...

Post by eric29 »

hi,
Linux distro is ubuntu server 16.04 and zm is 1.30.4.

Thanks for help
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Re: no videos are displayed since i use SSL / HTTPS ...

Post by eric29 »

hi,
Linux distro is ubuntu server 16.04 and zm is 1.30.4. All work fine with http requests, problem is with https/ssl.

Thanks for help
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: no videos are displayed since i use SSL / HTTPS ...

Post by bbunge »

Did you delete the port 80 server in Apache? If you did you will have to set all your cameras to use ssl and make the changes in Zoneminder.

https://www.maketecheasier.com/apache-s ... l-support/
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Re: no videos are displayed since i use SSL / HTTPS ...

Post by eric29 »

hi,

well, i did not delete the 80 port in apache. 80 and 443 are opened. all is fine in these two services except that with 443/SSL service
videos are not displayed .... one jpeg problem ?

Eric
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: no videos are displayed since i use SSL / HTTPS ...

Post by rockedge »

this sounds like a configuration issue in the Apache2 configuration files. Check that the config file corresponding to https and port 443 in /etc/apache2/sites-enabled is correct and the proper path to the /cgi-bin/nph-zms is being declared.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: no videos are displayed since i use SSL / HTTPS ...

Post by bbunge »

rockedge wrote: Sat Oct 14, 2017 4:47 pm this sounds like a configuration issue in the Apache2 configuration files. Check that the config file corresponding to https and port 443 in /etc/apache2/sites-enabled is correct and the proper path to the /cgi-bin/nph-zms is being declared.
You really do not have to do all of that! I gave the OP a link to set up https on Apache. Took me about 5 minutes to do https on my production server with no config changes to Zoneminder.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: no videos are displayed since i use SSL / HTTPS ...

Post by rockedge »

@bbunge
I used the link you supplied and I was able to also set up https: using this set of instructions. Worked well on Puppy Linux Xenial using Server Version: Apache/2.4.18 (Ubuntu) PHP/7.0.22-0ubuntu0.16.04.1 OpenSSL/1.0.2g mod_perl/2.0.9 Perl/v5.22.1
Server MPM: prefork
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Re: no videos are displayed since i use SSL / HTTPS ...

Post by eric29 »

hi,

Where is this link you're talking about ??

Thanks
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: no videos are displayed since i use SSL / HTTPS ...

Post by bbunge »

eric29 wrote: Sun Oct 15, 2017 2:26 pm hi,

Where is this link you're talking about ??

Thanks
https://www.maketecheasier.com/apache-s ... l-support/
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Re: no videos are displayed since i use SSL / HTTPS ...

Post by eric29 »

Hi,

Yes it works with this link because all the entire site is accessible with ssl. My problem was different:

I tried to keed http/80 opened to access /var/www/html and configure one sites-enabled confile file to
access /usr/share/zoneminder/www trough https only. In this last case, i can access zoneminder with https but
videos did not displayed. when trying to access these videos i get an error message in syslog regarding /cgi-bin/nph-zms. i don't know what to put in the sites-enabled config file . All what i tried was unsuccessful.

Eric
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: no videos are displayed since i use SSL / HTTPS ...

Post by bbunge »

You are trying too hard! Get Zoneminder working on a stock Ubuntu system under http (port 80). Then add https to Apache per one of many instructions on the web using a self signed certificate. And voila, you will be able to access Zoneminder on the same box using https://ip-addr/zm with no other changes! Mess with the Apache config or zm config and you could spoil a good install!!!
Locked