A refused login on a gateway is not always a wrong password: the account may be locked, the central authentication server unreachable, the clock offset, the certificate expired or the role without permission for that interface. Tell them apart by reading the security log of the device at the moment of the attempt, before trying more passwords.
Symptom
Someone tries to get into the gateway, through the web page, the engineering software, the console or remote access, and gets “invalid credentials”, “access denied”, a window that asks for the password again, or a dropped connection before any form appears. Sometimes it happens to one person; sometimes to everybody at once, or only from the remote network. Telecontrol may keep working normally, so the problem is found late, on the day something has to be changed.
When the rejection happens before the form, the encryption layer is usually failing, not the password. That negotiation is described in TLS in substation telecontrol.
Likely causes, from most to least likely
| Cause | How to recognize it | What confirms it | What rules it out |
|---|---|---|---|
| Account locked after failed attempts | The right password is also refused | Lockout event in the log, with its source | The same account logs in at the local console right away |
| Password expired or changed, or account disabled | Affects one person or one shared account | Account status or date of last change | The account shows as active and valid |
| Central authentication server unreachable | All central accounts fail at once | The gateway records a timeout querying the server | The server logs the request and rejects it itself |
| Gateway or client clock offset | Certificates, time-based codes or Kerberos fail | Device time differs from the reference | Both clocks agree |
| Certificate expired, untrusted or with another name | Browser warning or closure during negotiation | Date, chain or alternative name do not match | The full chain validates on the client |
| No agreement on protocol version or ciphers | Started after hardening the device or updating the computer | A capture shows an alert during the initial handshake | The encrypted session is set up and the rejection comes later |
| Role without permission for that interface, or session limit | Works through one path and not another | Role matrix or list of open sessions | The user has the permission and sessions are free |
How to diagnose it
- Stop trying passwords. Each failed attempt may bring on or extend the lockout. Note the exact time, account, interface and computer of the last attempt.
- Bound the scope. One person or all? Local and remote? One computer or any? A single account points to the account; all central accounts, to the server or the path to it.
- Read the security log with an account that does get in. Distinguish “wrong password”, “unknown user”, “account locked”, “no response from server” and “certificate rejected”. Not every device separates these reasons.
- Find the source of the attempts. A script, a log collector, a backup tool or a workstation with the old password saved can lock the account over and over.
- Check the central server, if there is one: whether the request arrived, what it answered and whether the firewall allows the path. See RADIUS and 802.1X authentication.
- Compare clocks. Time-based codes under RFC 6238 use 30 s steps by default; Kerberos usually tolerates five minutes of difference out of the box; a certificate is only valid between its two dates.
- Inspect the certificate: validity, issuer, full chain, alternative name equal to the address you type and permitted usage. TLS 1.0 and 1.1 were retired by RFC 8996: an old client may fail to agree with a hardened device.
- Check the role and the maximum number of simultaneous sessions.
Illustrative example
Generic situation with assumed figures. A gateway locks an account for 15 minutes after 5 failed attempts. The engineer changes the password of the maintenance account, but a backup task still uses the old one and connects every 2 minutes. The 5 failures are complete at the fifth attempt, about 8 minutes after the first run. When the 15 minute lockout ends, the task resumes and about 10 minutes later the account falls again. The engineer sees that the password “sometimes works and sometimes does not”. The log, filtered by source address, shows the backup computer. The task credential is updated, it receives its own read-only account and the lockout does not return.
Field checklist
- Time, account, interface and source of the last attempt noted.
- Scope bounded: person, interface, computer.
- Security log downloaded before restarting anything.
- Account status and validity checked.
- Authentication server and the path to it confirmed.
- Gateway, client and server clocks compared.
- Certificate, chain and name verified.
- Local emergency account located in the password vault and its use authorized.
What to do
- Lockout: first stop the source of the attempts, wait out the period or unlock with an administrator, and record it.
- Expired account: restore it through the approved procedure. Review accounts, roles and password rotation on IEDs.
- Server unreachable: restore the path and make sure a tested, safeguarded local backup account exists.
- Time: fix the time source, not only the clock by hand.
- Certificate: issue a new one with the correct names and load the full chain. Check it with the verifier below before installing it.
- No cipher agreement: update the client. Re-enable retired versions only as a documented exception with an end date.
- Role: grant the minimum permission required by the matrix; do not make everyone an administrator.
What not to do
- Do not guess passwords or try lists of factory passwords on a device in service.
- Do not restore factory defaults to regain access: configuration and telecontrol are lost.
- Do not disable certificate validation to get by.
- Do not leave the emergency password on a note inside the cabinet or in an email.
- Do not access somebody else’s device without written authorization from its owner.
When to call us
If the rejection affects all accounts, if there is no tested emergency access or if roles, certificates and authentication server have to be put in order without interrupting telecontrol, we review it with the logs and the authorized configuration. We configure it remotely. Contact us.
Open it in Tiza Designer: the IED X.509 certificate verifier checks chain, signature, validity, name and usage.
Related guides
- TLS in substation telecontrol
- X.509 certificate and CSR for an IED
- Role-based access control under IEC 62351-8
- Default passwords still present on gateways
- Forgotten relay administrator password
- Lost PTP or IRIG-B time synchronization
References
- IEEE 1686, Intelligent Electronic Devices Cybersecurity Capabilities.
- IEC 62351-8, Role-based access control for power system management.
- IETF RFC 6238, TOTP: Time-Based One-Time Password Algorithm.
- IETF RFC 8996, Deprecating TLS 1.0 and TLS 1.1.
- IETF RFC 5280, Internet X.509 Public Key Infrastructure Certificate and CRL Profile.
Frequently asked questions
Why does the gateway reject the password if I am sure it is correct?
The password is only one of the conditions. The account may be locked or expired, validation may depend on a server that does not answer, or the role may lack permission for that interface. The security log usually tells which one failed.
Can a wrong clock prevent logging in?
Yes, when a time-dependent mechanism is involved: certificates with a validity period, Kerberos tickets or time-based one-time codes. With a local user and password, time usually does not matter.
Should the gateway be restarted to unlock the account?
Not as a first step. Telecontrol is lost during startup, the log that explains the rejection may be lost and, if something keeps trying an old password, the account locks again.