OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: deekdeeker on December 21, 2018, 04:14:55 pm

Title: NTOPNG with HTTPS
Post by: deekdeeker on December 21, 2018, 04:14:55 pm
when enabling HTTPS for ntopng port 3001 for example this does not seem to work. Certificate generated. also tried running OPNsense with http incase that was interfering....am i just missing something obvious?
Title: Re: NTOPNG with HTTPS
Post by: jkemp on December 24, 2018, 12:15:59 am
I'm having the same problem.

Also can't get GeoIP to work I think due to non SSL

I will follow this post to see if others may know whats wrong
Title: Re: NTOPNG with HTTPS
Post by: juggie on December 24, 2018, 02:44:07 am
/usr/local/opnsense/scripts/OPNsense/Ntopng/generate_certs.php is missing execute permission and a shell script calls it to regenerate the certs when you change the ntopng config.

run: chmod +x /usr/local/opnsense/scripts/OPNsense/Ntopng/generate_certs.php

from your shell and it will solve the issue.  Hopefully this can be fixed in opnsense.
Title: Re: NTOPNG with HTTPS
Post by: mimugmail on December 24, 2018, 12:33:22 pm
chmod will be set with next version ... sorry
Title: Re: NTOPNG with HTTPS
Post by: deekdeeker on December 24, 2018, 05:05:21 pm
Fantastic ! works now.
Thanks.
Title: Re: NTOPNG with HTTPS
Post by: jkemp on December 24, 2018, 05:53:51 pm
I take it this has to be done at the device's shell directly? There is no where to do this in the GUI?
Title: Re: NTOPNG with HTTPS
Post by: deekdeeker on December 24, 2018, 06:23:55 pm
Yes i did via ssh