If a TLS link drops from one day to the next with no network change, look at the dates first: the certificate of one end, or of the authority that signed it, passed its end date, or a device clock is wrong. Confirm it by reading the validity period of the whole chain and comparing it with the real time on each device; fix it by issuing and installing the new certificate and synchronizing the clock.
Symptom
A secure link to the control center, between two substations or to a gateway stops working all at once. The network responds (ping answers, the port is open) and nobody changed the configuration, but the session is not established or drops within seconds. In the SCADA, points show invalid quality or “communication lost”. The device records a security or communication event mentioning the certificate, verification or session setup; sometimes only the drop is visible, with no reason.
A strong clue is timing: the failure happens at an exact moment, at midnight on a given day, or just as a period of several years ends. Another is that only one end of the link fails: the one with the expired certificate or the wrong clock. How control protocol connections are secured (IEC 60870-5-104, ICCP and others) is explained in the parent guide (IEC 62351); this page only deals with a failing certificate.
Likely causes, from most to least likely
| Cause | How to recognize it | What confirms or rules it out |
|---|---|---|
| Device certificate expired | Only one end fails, from a precise date | The certificate end date is earlier than the current time |
| Authority certificate (root or intermediate) expired | Several devices fail at once although each device certificate is valid | An end date in the chain is earlier than the current time |
| Device clock wrong | The certificate looks expired or “not yet valid” when it is not | Device time differs from real time; it lost its time source |
| Certificate renewed but not installed or service not restarted | The device still presents the old certificate | The certificate presented in the session is not the new file |
| Issuer changed and the other end does not trust it | Failure after renewing with a different authority | The new authority is missing from the other end’s trust store |
| Revocation list unavailable or certificate revoked | Failure with a valid certificate and a correct clock | The certificate is on the list or the list cannot be downloaded |
| Name or key usages not matching requirements | Failure only with the new certificate | Subject name or key usages differ from the previous one |
The first three are solved by reading dates; the rest require looking inside the certificate.
How to diagnose it
- Fix the time of the drop. Check SCADA and device logs for when it happened and which end recorded it first. Compare it with the end dates of the certificates you know.
- Read the dates of each certificate. Every certificate has a start and an end of validity. If you have the file (PEM or DER), a certificate reading tool shows them without access to the device; you can use the X.509 certificate checker. Check the whole chain: device certificate, intermediate authority and root. Any one of them expiring is enough to break the session.
- Compare with real time. Read the time on each device and compare it with a trusted source. Validity is evaluated in UTC; a time zone offset does not explain a failure, but a difference of days or years does. See time synchronization in substations.
- Check which certificate is presented. After a renewal, confirm the device presents the new one. A packet capture of the session setup shows the certificates exchanged (in TLS 1.2; with TLS 1.3 they travel encrypted, so rely on device logs) and the alert used to reject them.
- Check trust. The trust store of the rejecting end must contain the authority that signed the new certificate.
- Check revocation, if the scheme uses it: when a device cannot reach the list or service, some reject the session and others accept it. The substation PKI guide explains the full cycle.
- Confirm name and usages. The certificate must identify its holder the way the other end expects, with the key usages of a server or a client according to its role.
What to do
On site or remotely, with communication staff:
- If a device certificate expired, generate a signing request, have it signed by the installation’s authority and install the result. See X.509 certificate and CSR for an IED or, for ICCP and IEC 104, X.509 certificates for ICCP and IEC 104.
- If an authority expired, issue the new authority certificate and distribute it to every end that trusts it before renewing device certificates. Plan it in windows.
- If the clock is wrong, correct the time source and confirm the device follows it before retrying.
- Restart only the secure communication service, not the whole device, unless the manufacturer says otherwise, with the bay secured because the session drops for a moment.
Needing a specialist:
- Redesigning the authority, changing algorithms or key lengths, or moving to another authority in a multi-vendor installation.
- Devices that do not accept new certificates without a firmware change.
So it does not happen again:
- Keep an inventory of all certificates with end date and owner, and review it well ahead of each expiry (for example, alerts several months ahead for authorities and weeks ahead for devices).
- Record the renewal procedure for each device type, who does it and how long it takes.
- Supervise each device clock as a SCADA alarm.
Field checklist
- Note the exact time of the drop and the end that recorded it.
- Read the message in the device security log.
- Read the start and end dates of the device certificate.
- Read the dates of the intermediate and root authorities.
- Compare each device time with a trusted source.
- Confirm the certificate presented is the new one.
- Verify the other end trusts the signing authority.
- Review name and key usages of the new certificate.
- Review revocation, if used.
Illustrative example
A gateway talks to a control center over IEC 104 with TLS. At 00:00 on a Monday the link drops. The gateway certificate was installed exactly three years earlier with three years of validity, and its end date matches the drop. The intermediate authority expires two years from now, so the chain is not the cause. A new request is generated, signed and installed, only the communication service is restarted, and the link and data quality return. On a second gateway the clock is two days behind: a certificate issued on Friday shows as “not yet valid”. The figures are illustrative.
What not to do
- Do not disable certificate verification or mutual authentication “so it connects”: it leaves the link open and may hide the real problem.
- Do not renew only the device certificate without looking at the chain and the clock.
- Do not set the device date back so the certificate looks valid: it corrupts logs and event time stamps.
- Do not send private keys by email or messaging to save time; the key is generated and stays in the device or in the installation’s secure store.
- Do not leave authority certificates without a tracking date.
- On a critical installation, do not restart communication equipment without coordinating with the control center.
When to call us
If a certificate outage affects devices from several makes, or there is no inventory or renewal procedure, we prepare the inventory, issue the certificates and document the procedure. We set it up remotely. Write to us.
Open it in the X.509 certificate checker.
Common problems
Expired certificate cuts the connection to the relay
How it shows. A relay or gateway stops answering the SCADA or the engineering client with a secure session error while the device keeps working and the network is healthy: the address answers, but TLS is not established. It often follows a specific date or a power outage.
Likely causes, in order.
- The relay certificate expired, or is not yet valid because its clock is behind.
- The issuing authority certificate expired, or is missing from the other end’s trust store.
- The client or server clock is wrong and rejects a certificate that is in fact valid.
- The certificate was renewed on one end but the full chain or revocation list was not loaded on the other.
How to diagnose. Read the session error and look for “expired” or “not yet valid”. Check the validity dates, the relay time and the client time against a trusted reference. If the relay time is off, the problem is synchronization. If the dates are fine, check the chain.
What to do. Correct the time first; then renew the certificate with a new request, load it with its chain and restart only the secure session. Record the expiry date with an early warning. Do not disable certificate verification as a shortcut.
See also time synchronization in substations, the CSR for an IED and, if the link drops with no expiry involved, DNP3 or IEC 104 link that drops.
TLS certificate that blocks the telecontrol connection
How it shows. A control center link being commissioned with TLS, or just worked on, never comes up although the certificates are within date. The network answers, the TCP connection may open and then closes during secure session setup, before any IEC 104 or DNP3 data.
Likely causes, in order.
| Cause | How a capture or log confirms it | What to do |
|---|---|---|
| Wrong port or no firewall rule | No answer or the target refuses; IANA registers 19998 for secure IEC 104 and 19999 for secure DNP, against 2404 for IEC 104 without TLS | Align both ends and the rule with the port the device really uses |
| One end speaks TLS and the other does not | After TCP opens, plain protocol data appears where the TLS greeting was expected | Enable secure mode on both ends |
| No common version or cipher suite | Rejection alert right after the client’s first message | Compare both lists and update or adjust the configuration |
| Client presents no certificate | The server asks and gets an empty answer; power system profiles authenticate both ends | Load certificate and key on the client |
| Root or intermediate authority missing | Unknown authority alert | Install the full chain on the rejecting end |
| Certificate does not match the loaded key | The device rejects the file or the handshake signature fails | Issue again from the request generated on that device |
How to diagnose. Capture traffic at both ends or on a mirror port and note which one sends the alert and at which step. With TLS 1.3 much of the handshake is encrypted, so add each device log to the capture. Change one thing per attempt.
What not to do. Do not leave the link without TLS as a permanent fix or open the firewall to any source. Profiles are covered in secure IEC 104 and DNP3 with TLS and handshake messages in TLS in power system telecommunications.
Expired certificate somewhere in the substation network
How it shows up. SCADA still has data, but something else on the network fails: a rebooted device never gets its port back, a switch management page warns that the certificate is not valid, the maintenance VPN does not establish or logs stop reaching the central server. It is often noticed late, because an already authenticated session may stay open until the next reboot or reauthentication.
Where to look.
| Symptom | Certificate to check | Check |
|---|---|---|
| Port unauthorized after a reboot | Authentication server and connecting device | Server and switch logs |
| Browser warning | The one on the device web page | Dates shown by the browser |
| VPN does not come up | Both ends and the issuing authority | Concentrator log |
| Logs not arriving | Collector and senders | Last event received from each source |
What to do. List every service that uses a certificate, with device, issuer, end date and owner. Renew first the one that blocks operation, then test a port restart or a reconnection in an agreed window, with local access available in case the device ends up isolated. Do not disable port authentication across the whole network to recover a single port.
Port-based access control (IEEE 802.1X) is explained in RADIUS and 802.1X in the substation, and issuing and revocation in substation PKI under IEC 62351-9.
Related guides
- IEC 62351: security for IEC 61850, 104 and DNP3
- Substation PKI, IEC 62351-9
- X.509 certificate and CSR
- X.509 certificates for ICCP and IEC 104
- DNP3 or IEC 104 link that drops
- Time synchronization in substations
References
- IEC 62351-3, Power systems management and associated information exchange – Data and communications security – Profiles including TCP/IP (TLS).
- IEC 62351-9, Key management for power system equipment.
- RFC 5280, Internet X.509 Public Key Infrastructure Certificate and CRL Profile.
- IEC 62443-3-3, system security requirements.
- IEEE 802.1X, IEEE Standard for Local and Metropolitan Area Networks – Port-Based Network Access Control.
Frequently asked questions
Why does the SCADA link drop exactly when the certificate expires?
Because each end checks the validity period while setting up the secure session. If the current time is outside the interval between start and end, it rejects the other side and closes the connection, even if the rest of the configuration is correct.
Can it fail with a certificate that has not expired?
Yes. If a device clock is ahead, the certificate looks expired; if it is behind, it looks not yet valid. The link also drops if the certificate of the signing authority or of an intermediate one expired, even though the device certificate is still valid.
Is installing the new device certificate enough?
Not always. Check that the other end trusts the chain that signed it, that the name and key usages match what is required and that the device actually loads the new file, which sometimes means restarting the communication service.