Data Node 6.3.15: renewed certificates not applied until restart, hot reload fails silently

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident: Graylog renews the Data Node certificates, but OpenSearch keeps serving the old certificate on 9200 and 9300 until graylog-datanode is restarted. Once the old cert expires, nodes reject each other and external clients (certificate_unknown / CertificateExpiredException: NotAfter ...). A restart picks up the new cert immediately.

The renewal itself works: CSR is signed, keystore is updated, the REST API on 8999 restarts with the new cert, and the UI / datanodes collection show the new expiry. The datanode then logs that it triggered a hot reload, but the new cert never reaches OpenSearch, and nothing is logged as an error on either side.

From datanode.log on one of the nodes during a renewal:

08:32:13 INFO [DataNodeCertRenewalPeriodical] Datanode certificate will be renewed now, expiring soon (Wed Nov 04 09:32:15 CST 2026)
08:32:14 INFO [CsrRequesterImpl] Triggered certificate signing request for this datanode
08:32:17 INFO [DatanodeCertReceiver] Received new datanode certificate, updating datanode keystore
08:32:17 INFO [DatanodeKeystore] Datanode certificate renewed, triggering renewal event
08:32:17 INFO [DatanodeKeystore] Persisting signed certificates to the datanode keystore finished
08:32:17 INFO [JerseyService] Restarting Data node REST API, certificates renewed
08:32:17 INFO [OpensearchCommandLineProcess] Triggered hot reload of opensearch certificates

After this, openssl s_client -connect <datanode>:9200 still returned the cert issued Sep 8 that expired Oct 8, while Graylog showed the node cert as valid until 2031.

This has happened on every renewal cycle we can see in the logs (certs expiring Aug 23, ~Oct 5 renewal, Oct 8 expiry), on all 8 nodes.

2. Describe your environment:OS Information: [e.g. Ubuntu 24.04]

  • Package Version: Graylog Data Node 6.3.15+3ad654f (8 nodes), Graylog server [version]
  • Service logs, configurations, and environment variables:
    • Certificates managed by Graylog (Graylog CA), Certificate Renewal Policy: Automatic (lifetime was ~30 days, now set to 5 years)
    • Generated opensearch.yml contains plugins.security.ssl_cert_reload_enabled: "true"
    • Only pass-through property set: bootstrap.memory_lock
    • graylog-datanode has a systemd drop-in (override.conf)

3. What steps have you already taken to try and solve the problem?Confirmed with openssl s_client that 9200/9300 serve the old cert after renewal, while Graylog / MongoDB show the new one

  • Confirmed ssl_cert_reload_enabled is true
  • Tried calling PUT _plugins/_security/api/ssl/{http,transport}/reloadcerts manually with a 3rd-party client cert, which got 403 (not an admin DN, as expected)
  • Restarted all 8 datanodes at once: all now serve the renewed cert and the cluster is green
  • Raised the cert lifetime to 5 years as a workaround

4. How can the community help? Is this a known issue with Data Node cert hot reload in 6.3.x, and is it fixed in a later release?

  • Is there a supported way to make the datanode apply a renewed cert without restarting it?
  • If this isn’t known, I’m happy to open a GitHub issue. Let me know what additional logs would help.

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

Hey @cwc202,

I believe that this issue could be related to the Opensearch version that Graylog Data Node 6 runs, the hot reload function works in OS versions > 2.19 but not below.

What version is the underlying OS version being run?

Ubuntu 24.04.4 LTS
GL6 bundled datanode version is 2.15.0

Since OpenSearch is bundled with the Data Node, this looks like a mismatch within the Data Node package itself. The renewal process triggers a hot reload that the bundled OpenSearch 2.15.0 doesn’t support (hot reload was added in 2.19.0 as you have pointed out). Is this a known issue, and is there a Data Node release that fixes it, either by bundling OpenSearch 2.19+ or by restarting OpenSearch after a renewal?

I believe 7.0 ships with 2.19, I would recommend upgrading through 7.0 to 7.1. Ensure your mongo version is within compatibility range.

Yes, a new 7.x cluster is planned. Right now we’re working on moving away from 5.x, and we’ve been running 6.x for a while now. Once 6.x has fully taken over from 5.x, we’ll move on to 7.x for testing.

Thank you for your reply.