Troubleshooting
Why Node-RED on a PC rejects the groov Data Store certificate
Short answer
The Certificate has Expired error is Node-RED refusing the groov Box's factory self-signed certificate; the fix is to load the target groov server's certificate, in PEM format, into the groov Data Store node's certificate trust field. Compare the certificate's NotAfter date with the PC clock first, because a fast clock fakes the same error. Fix any remaining unknown name error afterwards by matching an existing Data Store name exactly, never by disabling validation.

On this page
A groov Data Store write from Node-RED on a PC fails twice for one underlying reason: the groov Box presents the self-signed certificate it shipped with, and Node-RED by default refuses any server whose certificate it cannot verify. The Certificate has Expired message is that refusal, not a broken network and not a permission fault, and nothing about both devices sharing a subnet changes it. The fix is to place the target groov server's certificate, in PEM format, in the certificate trust field of the groov Data Store node, redeploy the flow, and repeat the write. Only once the handshake succeeds does the second message, unknown name, mean what it says: the write names a store that does not exist, exactly as spelled, on the server it targets.
What each of the two errors means #
Certificate validation happens per TLS connection, not per subnet, so the PC still has to verify the server certificate before Node-RED sends a single write. The certificate a groov Box ships with is self-signed and carries validity dates like any X.509 certificate; once the connecting PC's date reads past the NotAfter date, the client reports expiry even though no component failed. A factory self-signed certificate meeting a strict client is a pattern across plant software rather than a groov quirk, and OPC UA clients hit the same wall — the resolving SIMATIC NET OPC UA self-signed certificate store errors page covers that variant.
The unknown name error is the next reported failure once TLS is accepted, and it says nothing reliable about the Data Store until then. Treat it as a naming fault only after the certificate error is gone.
Read the certificate dates before you touch the node #
Open the certificate details in the browser you already use to reach the groov Box and read its validity window — the NotBefore and NotAfter dates — then compare NotAfter with the clock on the PC running Node-RED. The subtraction decides the case.
Worked example, with example dates you replace with your own: NotAfter 2025-03-01, PC date 2025-06-10. March 1 to April 1 is 31 days, April 1 to May 1 is 30 days, May 1 to June 1 is 31 days, June 1 to June 10 is 9 days, and 31 + 30 + 31 + 9 = 101 days. The certificate is 101 days past NotAfter, and Node-RED refuses it no matter how healthy the network is — trust the certificate as the next section shows.
If NotAfter still lies ahead on the true date, the clock is the fault instead. A PC running 120 days fast turns a certificate with 19 days of validity left into one that reads long past its end: same message, different repair. A clock that disagrees with a certificate's validity window trips the same rejection in other clients too; why an OPC UA client rejects the server certificate on clock mismatch covers that variant. Node-RED in Docker on an edge PC adds a third clock that drifts on its own, and Fix Node-RED Docker x509 Certificate Expired on an Edge PC is the repair when the certificate is valid and the container clock is not.
- NotAfter in the past on a correct clock: the certificate really expired; go to the trust fix below.
- NotAfter in the future but the clock demonstrably fast: correct the PC or container clock, retest, and leave the node alone.
- Dates that check out while the error still says Certificate has Expired: the write node is talking to a different groov server than the certificate you read; re-check the address in the node.
Trust the groov server certificate in the Data Store node #
- From the browser session you already use to administer the groov Box, export that server's certificate in PEM form — the base-64 text encoding of the X.509 certificate, not the binary DER form — and keep the file where the PC running Node-RED can read it.
- In the Node-RED editor, open the configuration view of the groov Data Store node your flow writes through; you reach it by clicking through the Read or Write node into its Data Store configuration view.
- In that view, put the PEM certificate in the certificate trust field. The field exists to specify exactly one certificate to trust: the target groov server's own.
- Deploy the flow and repeat the same write.
The Certificate has Expired error must disappear here. If it does, the TLS layer is finished. If it does not, the usual cause is a certificate exported from a server other than the one the write node connects to, so re-export from the exact address the node uses.
Trust only that certificate, and disable nothing: skipping validation or opening a plain, unauthenticated write path would carry Data Store writes and process data across the plant network in clear text.
Make the write name an existing Data Store #
With TLS accepted, unknown name means the flow got through and asked for a store the server does not recognize. Check two things: the write node's server points at the same groov Box whose certificate you trusted, and the store name matches an existing Data Store exactly — character for character, capitals and spaces included. Copy the name from the store list on the groov Box itself instead of retyping it.
Exact name, correct server, and the write lands. If unknown name survives both checks, stop guessing at a name format: nothing documents a special syntax, so capture the node configuration and the complete error text and take both to the vendor's support channel.
The decision, case by case #
- Certificate has Expired and the certificate is genuinely past its NotAfter date: load the server's PEM into the groov Data Store node's trust field, and keep validation on.
- Certificate has Expired with a still-valid certificate: correct the fast clock, the PC's or the Docker container's, and retest before changing any node.
- unknown name after a trusted handshake: match the store name exactly on the server the write node targets.
- Data landing in the store: record the certificate's NotAfter date in the maintenance notes so the next expiry is a planned renewal, not another debugging session.
Questions asked
Why does Node-RED running on the groov Box itself not hit this certificate error?
That runtime lives on the device and reaches the Data Store over a local connection that never carries TLS, so there is no certificate to validate. A PC connects across the network, where TLS validation always applies. Do not recreate that local path from a PC by exposing a plain, unauthenticated listener: the certificate check is what keeps Data Store writes and process data off the plant network in clear text.
How do I tell a genuinely expired certificate from a wrong PC clock?
Read the validity dates from the certificate in the browser you use for the groov Box, then compare the NotAfter date with the clock on the PC running Node-RED, and with the container clock if Node-RED runs in Docker. A certificate expired as of 2025-03-01 read from a PC that believes it is 2025-06-10 reads as long past its end date; on a correctly set clock showing 2025-02-10, the same certificate still has 19 days left.
Can I put any certificate in the groov Data Store node's trust field?
No. The field takes the certificate of the groov server your write node connects to, in PEM form. A certificate from another device, or the binary DER export a browser may offer instead of the base-64 text form, verifies nothing, so the handshake fails with the same message even though the field looks filled.
Do groov Read nodes need the same certificate setup as writes?
Yes. In the groov View nodes for Node-RED, a Read and a Write both open the same Data Store configuration view, so the certificate trust field you fill for writes also covers reads against that server. A different target groov Box needs its own certificate exported and trusted; one certificate per server you write to or read from.


