This does not agree with the default api prefix or default certs and cases the following error:
unable to submit alert: HTTPSConnectionPool(host='animus', port=443): Max retries exceeded with url: /api/analysis/submit (Caused by SSLError(CertificateError("hostname 'animus' doesn't match either of 'localhost', '127.0.0.1'",),))
A work around is to do this:
update nodes set location='localhost' where id=1;
This either needs to be fixed by making sure the nodes table location defaults to localhost or that the appropriate config item reflects the hostname of the system that gets added to the nodes entry.
Thanks. api.prefix config option defaults to AUTO which uses the result of socket.getfqdn(), which returns localhost.localdomain, while the SSL cert is configured for localhost.
The nodes db table picks up the hostname and uses it to define the location:
This does not agree with the default api prefix or default certs and cases the following error:
A work around is to do this:
This either needs to be fixed by making sure the nodes table location defaults to localhost or that the appropriate config item reflects the hostname of the system that gets added to the nodes entry.