Hello Nithin
You asked about 1514, but it’s the same as 1515 with a different location at ossec.conf.
Your goal: be able to register agents through 443 port. The Wazuh manager registration service must be listening on port 443. This can be done by modifying the /var/ossec/etc/ossec.conf section:
<auth>
<disabled>no</disabled>
<port>1515</port>
<use_source_ip>no</use_source_ip>
<purge>yes</purge>
<use_password>no</use_password>
<ciphers>HIGH:!ADH:!EXP:!MD5:!RC4:!3DES:!CAMELLIA:@STRENGTH</ciphers>
<!-- <ssl_agent_ca></ssl_agent_ca> -->
<ssl_verify_host>no</ssl_verify_host>
<ssl_manager_cert>etc/sslmanager.cert</ssl_manager_cert>
<ssl_manager_key>etc/sslmanager.key</ssl_manager_key>
<ssl_auto_negotiate>no</ssl_auto_negotiate>
</auth>
Replace 1515 with 443. I think you don’t need to run the setcap command explained before, but please make sure that no more process are using the 443 port. If they are using it, the Wazuh manager will not be able to start.
Then, after restarting the wazuh manager, you can use /var/ossec/bin/agent-auth -m <Manager IP> -p 443. Note that you need to indicate the port because agent-auth will use 1515 by default.
Anyway, let me recommend you check the autoenrollment feature: https://documentation.wazuh.com/current/user-manual/agent-enrollment/via-agent-configuration/linux-endpoint.html
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/e96d94bf-f079-4daa-8331-8a440765b9cdn%40googlegroups.com.