If you see this error when trying to install an agent:
Error: Cannot Verify <IP_HUB> certificate When Trying to Download Agent from HUB
you can by pass it by adding --no-check-certificate to the end of the download request.
Example:
[root@localhost] wget https://192.168.144.98/installers/ossec-installer.sh --no-check-certificate