brimdata / build-suricata

Build Suricata for packaging with Brim
8 stars 2 forks source link

Fix SSL certificate env vars #50

Closed henridf closed 4 years ago

henridf commented 4 years ago

Really fixes #42.

philrz commented 4 years ago

Yep. I just tested out these changes a la carte in my CentOS v8.2 and it's working now.

$ ./suricataupdater 
26/11/2020 -- 15:29:36 - <Info> -- Loading /home/phil/suricata/var/lib/suricata/update.yaml
26/11/2020 -- 15:29:36 - <Info> -- Found Suricata version 5.0.3 at /home/phil/suricata/bin/suricata.
26/11/2020 -- 15:29:36 - <Info> -- Loading /home/phil/suricata/brim-conf.yaml
26/11/2020 -- 15:29:36 - <Info> -- Disabling rules for protocol modbus
26/11/2020 -- 15:29:36 - <Info> -- Disabling rules for protocol dnp3
26/11/2020 -- 15:29:36 - <Info> -- Disabling rules for protocol enip
26/11/2020 -- 15:29:36 - <Info> -- No sources configured, will use Emerging Threats Open
26/11/2020 -- 15:29:36 - <Info> -- Checking https://rules.emergingthreats.net/open/suricata-5.0.3/emerging.rules.tar.gz.md5.
26/11/2020 -- 15:29:37 - <Info> -- Fetching https://rules.emergingthreats.net/open/suricata-5.0.3/emerging.rules.tar.gz.
 100% - 2812166/2812166               
26/11/2020 -- 15:29:37 - <Info> -- Done.
...