Hi Aditya,
Thanks for your response. It helped a lot, but still I am not able to completely resolve the issue.
Here is the logs information from /var/ossec/logs/api.log
`2022/04/25 00:10:46 INFO: Listening on
10.10.254.94:55000..
2022/04/25 00:15:25 INFO: unknown_user 10.10.254.95 "GET /security/user/authenticate" with parameters {"raw": "true"} and body {} done in 0.020s: 401
2022/04/25 00:15:25 INFO: unknown_user 10.10.254.95 "GET /" with parameters {} and body {} done in 0.002s: 401`
Here is the output of a curl test command.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 59 100 59 0 0 1552 0 --:--:-- --:--:-- --:--:-- 1552
{"title": "Unauthorized", "detail": "No authorization token provided"}
The configuration file /var/ossec/api/configuration/api.yml from wazuh-manager and /usr/share/kibana/data/wazuh/config/wazuh.yml file from kibana and the screenshot of the error all are attached below. Thanks a ton in advance!
Regards
Hafiz Naser AslamResearch Officer in "High Performance Computing & Networking Lab"
Al-Khawarizmi Institute Of Computer Science (KICS)
University Of Engineering and Technology (UET), Lahore