Keyturn docsQuick reference
Troubleshooting
Keyturn's messages name the problem and what to do. These are the ones admins meet most.
| You see | Why | What to do |
|---|---|---|
CERT_PIN_MISMATCH (exit 3) | The server's certificate changed since you pinned it. | Confirm the change with the server's admin, then keyturn connect --repin PROFILE. |
CERT_IS_CA (exit 7) | keyturnd was given a CA certificate. | Give it a server certificate (CA:FALSE, serverAuth). |
SECOND_FACTOR_REQUIRED (exit 9) | A change needs a code. | Pass --otp, or run at a terminal. Not enrolled yet? keyturn auth enroll. |
TOO_MANY_ATTEMPTS | Five wrong passwords or codes in five minutes. | Wait for the window to pass. |
LICENSE_READ_ONLY | Community, evaluation, or a lapsed license. | keyturn license show; install a Pro or Site license with keyturn license install. |
LICENSE_SERVER_KEY_MISMATCH (exit 7) | The license names this server, but its server ID has a different key (re-keyed, replaced, or a look-alike server). | Upload a new request file through the portal's move flow and install the new file. |
LICENSE_TARGET_MISMATCH (exit 7) | The file doesn't name this server or domain. | Install it only on the servers it lists (license show on the file's servers). |
LICENSE_SERVER_KEY_UNREADABLE | A server's keyturnd is older than 0.10.0, or couldn't read its server ID key. No request file is written. | Update keyturnd on that server, or leave it out with --servers. |
PORTAL_TOKEN_REFUSED (exit 9) | The portal didn't accept your API token. | Make a new token in the portal (Account → API tokens). |
LICENSE_FOLDER_FIXED (exit 7) | keyturnd.conf names one license file with license =. | Copy the file there by hand and tell keyturnd reload, or remove that line. |
FEATURE_NOT_LICENSED | Excel live data needs Pro or Site. | As above. |
CONNECT_NOT_LICENSED | Keyturn Connect or Ray without the add-on on that server. | Add Connect or Ray to the license. Plain keyturn still works. |
DIRECTORY_RIGHTS (exit 3) | Your names.nsf access lacks a right or role the change needs. | The message names the right; ask for it or have someone who has it run the change. |
DIRECTORY_NOT_ADMIN_SERVER (warning) | A people or group change on a server that isn't names.nsf's administration server. | It reaches the admin server by replication. Use --server to change it there directly. |
| Exit 8, nothing sent | A destructive or large change without --yes. | Preview with --dry-run, then add --yes. |
| Exit 5 | Domino accepted the change but it wasn't seen in time. | Check before you retry; raise --timeout for long tasks. |
| Console command refused | console or console-write is off, or you aren't a Full Remote Console Administrator. | Turn it on in keyturnd.conf, or add yourself to the Server document field. |
| Can't connect (exit 4) | Firewall, wrong host, or keyturnd not loaded. | keyturn meta doctor; at the console, tell keyturnd show. |
Domino Administrator: The public key or certificate version stored in the Address Book is not supported (saving a Web SSO configuration, or Migrate Certifier) |
A Server document's Certificate item became a one-element text list, which a Notes client cannot read when it encrypts a secret to that server. |
Repair the Server document: keyturn doc repair-cert-item names.nsf <unid> --backup FILE. Current keyturnd preserves the item's type, so it does not recur. Full repair note (detection, affected versions, repair steps). |
HCL, HCL Domino, Domino, Notes, HCL Traveler, HCL Verse and HCL Nomad are trademarks or registered trademarks of HCL Technologies Limited. Microsoft, Windows, Excel, Power Query and Power BI are trademarks of the Microsoft group of companies. macOS is a trademark of Apple Inc. Linux is the registered trademark of Linus Torvalds. Let's Encrypt is a trademark of the Internet Security Research Group. Claude and Claude Code are trademarks of Anthropic, PBC. Other names may be trademarks of their respective owners. KernalWorks is not affiliated with, sponsored by, or endorsed by any of them.