Error suricata-udpate

[root@wazuh-server wazuh-user]# sudo suricata-update
26/10/2023 – 00:40:43 - – Using data-directory /var/lib/suricata.
26/10/2023 – 00:40:43 - – Using Suricata configuration /etc/suricata/suricata.yaml
26/10/2023 – 00:40:43 - – Using /etc/suricata/rules for Suricata provided rules.
26/10/2023 – 00:40:43 - – Found Suricata version 4.1.10 at /sbin/suricata.
26/10/2023 – 00:40:43 - – Loading /etc/suricata/suricata.yaml
26/10/2023 – 00:40:43 - – Disabling rules for protocol ikev2
26/10/2023 – 00:40:43 - – Disabling rules for protocol dhcp
26/10/2023 – 00:40:43 - – Disabling rules for protocol tftp
26/10/2023 – 00:40:43 - – Disabling rules for protocol krb5
26/10/2023 – 00:40:43 - – Disabling rules for protocol ntp
26/10/2023 – 00:40:43 - – Disabling rules for protocol modbus
26/10/2023 – 00:40:43 - – Disabling rules for protocol enip
26/10/2023 – 00:40:43 - – Disabling rules for protocol smb
26/10/2023 – 00:40:43 - – Disabling rules for protocol dnp3
26/10/2023 – 00:40:43 - – Disabling rules for protocol nfs
26/10/2023 – 00:40:43 - – No sources configured, will use Emerging Threats Open
Traceback (most recent call last):
File “/bin/suricata-update”, line 33, in
sys.exit(main.main())
File “/bin/…/lib/python2.7/site-packages/suricata/update/main.py”, line 1517, in main
sys.exit(_main())
File “/bin/…/lib/python2.7/site-packages/suricata/update/main.py”, line 1365, in _main
files = load_sources(suricata_version)
File “/bin/…/lib/python2.7/site-packages/suricata/update/main.py”, line 999, in load_sources
Fetch().run(url, files)
File “/bin/…/lib/python2.7/site-packages/suricata/update/main.py”, line 395, in run
fetched = self.fetch(url)
File “/bin/…/lib/python2.7/site-packages/suricata/update/main.py”, line 355, in fetch
tmp_filename = self.get_tmp_filename(url)
File “/bin/…/lib/python2.7/site-packages/suricata/update/main.py”, line 347, in get_tmp_filename
url_hash = hashlib.md5(url.encode(“utf-8”)).hexdigest()
ValueError: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips

First of all Suricata version 4.1.10 is very old, please upgrade first to the Suricata version 7 or at least 6.

How does your config look like?

What version of suricata-update are you running?

OT: you don’t need sudo if you’re already running as root