9. Update SSL Certificate on Data TierΒΆ
The following provides the procedures for updating the SSL Certification.
Replace the following two files on all the servers hosting HAWK-API and HAWK-iek (UX):
user@host#: /etc/pki/tls/certs/localhost.crt
user@host#: /etc/pki/tls/private/localhost.key
Make sure the correct permissions are set.
user@host#: chmod 600 /etc/pki/tls/certs/localhost.crt
user@host#: chmod 600 /etc/pki/tls/private/localhost.key
Restart the following services.
user@host#: service nginx restart
user@host#: service httpd restart
On the HAWK engines, edit the hawk-analyticsd.cfg, hawk-pulsed.cfg, and hawk-eventd.cfg files located in /opt/hawk/etc/:
# SSL Configuration
# Toggle SSL Peer Verification. Set to False if using a self-signed SSL certificate.
HTTPSSLVerifyPeer="True"
HTTPSSLVerifyHost="True"
Restart the HAWK engine services:
user@host#: service hawk-analyticsd restart
user@host#: service hawk-pulsed restart
user@host#: service hawk-eventd restart
On the Data Tier, edit hawk-msgd.cfg and hawk-reports.cfg files located in /opt/hawk/etc/:
insecure = false
on the Data Tier, edit hawk-producerd.cfg file located in /opt/hawk/etc/:
# SSL Configuration
# Toggle SSL Peer Verification. Set to False if using a self-signed SSL certificate.
HTTPSSLVerifyPeer="True"
HTTPSSLVerifyHost="True"
Go to the HAWK eyeCon UX and test that the correct SSL certificate is being used.