Skip to content
Stand with Ukraine flag

Unauthorized clients

Unauthorized clients are clients that attempted but failed to connect to the MQTT broker — due to bad credentials, incorrect TLS configuration, or other reasons.

Regularly reviewing unauthorized client attempts helps identify potential security threats and misconfigured clients.

The Unauthorized Clients tab shows a filterable list of all failed connection attempts. Each row contains:

  • Last update time — timestamp of the last connection attempt.
  • Client ID — unique identifier of the client that attempted to connect.
  • Username — the username provided by the client.
  • Password — indicates whether a password was provided (true/false).
  • TLS — indicates whether TLS was used for the connection attempt (true/false).
  • Client IP — the IP address of the client.
  • Reason — description of why the client could not connect. Click the Show reason icon to read the full text.

Each unauthorized client connection attempt has a specific reason for access denial that TBMQ identifies. These reasons, whether related to Basic authentication or SSL/TLS issues, are listed in the tables below.

The following reasons indicate why a client could not be authorized using Basic credentials:

ReasonCauseSolution
No Credentials FoundNo credentials match the given client ID and username.Verify the correct client ID and username match stored credentials.
Password Does Not MatchThe password does not match the credentials for the given client ID and username.Ensure the client provides the correct password.
No Password ProvidedNo password was submitted for credentials that require one.Ensure the client includes a password in its authentication request.
Cannot Parse Basic CredentialsCredentials are malformed and cannot be parsed.Verify the credentials are correctly formed.

The following reasons indicate why a client could not be authorized using SSL/TLS:

ReasonCauseSolution
Failed to Get Client Certificate CNThe server could not extract the client’s certificate CN.Ensure the client certificate includes a valid CN.
X509 Authentication FailureThe certificate chain is not trusted.Verify the certificate chain is correct and trusted.
Peer Identity Not VerifiedMissing or invalid client certificate.Ensure the client certificate is valid and properly configured.
No Certificates in ChainThe certificate chain is empty or incomplete.Provide a complete chain with all intermediate certificates.
Failed to Get Certificate CNCN is missing from one or more certificates.Ensure each certificate in the chain includes a valid CN.
No Authorization Rules for CNNo authorization rules exist for the client’s CN.Add appropriate authorization rules for the client’s CN.
SSL Handler Not ConstructedThe server-side SSL handler is not properly initialized.Check the server configuration for correct SSL handler setup.
No Matching X509 Credentials FoundNo X.509 credentials match the client’s certificate chain.Verify the server has the correct X.509 credentials configured.
Cannot Parse SSL CredentialsX.509 credentials are malformed and cannot be parsed.Ensure the credentials are correctly formed.

To delete a single unauthorized client:

  1. Find the client in the Authentication → Unauthorized Clients table and click the Delete icon.
  2. Confirm by clicking Yes.

To delete all unauthorized clients:

  1. Click the Delete all unauthorized clients button.
  2. Confirm by clicking Yes.