For 5651 log signing, SignLogger obtains its timestamps from the TÜBİTAK Kamu SM server zd.kamusm.gov.tr (TCP 80). When no timestamp can be obtained, no logs are lost, but archives may be closed with the appliance's own certificate (local signature) instead of a KamuSM timestamp. This document explains how to find the cause with two checks in the field and what to do for each cause.
Symptoms
- The output of
get log signing statusshows the lineKAMU SM erişimi : ERİŞİLEMİYOR(KamuSM access: unreachable). - In the output of
get log signing list, or in the signed log list in the panel, the STATUS or ERROR column of the latest archives shows a KamuSM error, or the archives have been closed with a local signature. - The Connection Statuses widget on the status dashboard shows the KamuSM connection as down.
What to know first
- The signing service runs every hour and obtains one KamuSM timestamp per appliance per day. The yearly limit is 365 timestamps per appliance.
- After a temporary KamuSM error, signing does not fall back to a local signature right away; KamuSM is retried in the next hour. If the problem lasts, the archive is closed with a local signature as a last resort.
- When the credits are used up or the marker store cannot be accessed, logs are signed locally with the appliance's server certificate without spending a credit. No data is lost, but these archives carry no KamuSM timestamp.
Two-step field check
1. Check the connection status
While logged in to the panel, open the panel address with /api/status-dashboard/connection-statuses appended, in the same browser. Find the sysnet.kamusm field in the response:
addr: must bezd.kamusm.gov.tr:80. If you see an address starting withtzd, the setting came from an old backup. See the Address or account problem section below.status: if it isdisconnect, the cause is network access (Cause 1).- Seeing
connectdoes not prove that everything is fine. It is only a TCP connection test; HTTP inspection along the path (proxy, web filter, IPS) can still break the timestamp request even when the connection opens. Go on to step 2.
2. Search the signing log
Run the following commands in the CLI in this order. Each command searches the last 5000 lines of the signing service's log for the given word. Type the words exactly as shown, with their Turkish characters: they match the log text, which is in Turkish.
get log service-filter imza 5000 TÜKENDİ
get log service-filter imza 5000 işaret
get log service-filter imza 5000 başarısız
| Command | What you see in the output | Meaning |
|---|---|---|
… TÜKENDİ (“used up”) | KAMU SM merkez kontör TÜKENDİ (cihaz …, remaining=0) | Cause 2: timestamp credits are used up |
… işaret (“marker”) | işaret deposu erişilemedi (fail-closed) | Cause 3: marker store error |
… başarısız (“failed”) | Kamu SM imzalama işlemi başarısız (…): <message> | The KamuSM client's (JAR) own message: “adresine bağlanılamadı” (could not connect to the address) points to the network (Cause 1); “authenticated” points to an account or endpoint problem |
Note: The order matters. The line written when the credits are used up also contains “yerel imza (işaretli, kontörsüz)” (local signature, marked, no credit), so the
işaretsearch lists those lines too. If the first command returned output, the cause is Cause 2; only lines containing “işaret deposu” (marker store) indicate Cause 3.
Causes and solutions
Cause 1 — Network access
The appliance cannot reach zd.kamusm.gov.tr over TCP 80, or the request is altered on the way. The connection status shows disconnect for status, or the log contains the JAR message “adresine bağlanılamadı”. When the request gets no reply, the log may also contain a line starting with İLERLEME YOK: … (TSA yanıtı yok / JAR asılı) (no progress: no TSA response / JAR hung).
- Allow TCP 80 traffic from the appliance to
zd.kamusm.gov.tron the firewall by domain name (FQDN). Place the rule above any general deny rules. - Exempt this destination from HTTP inspection, web filtering, IPS and any mandatory proxy. Even when the connection status shows
connect, inspection along the path can break the request. - Check that the appliance's DNS settings resolve this name:
get system dns. - After the change, check the
KAMU SM erişimiline in the output ofget log signing status. Signing retries KamuSM in the next hourly run.
For all outbound access requirements, see Required Network Access for SignLogger.
Cause 2 — Timestamp credits used up
The log contains this line:
[WARN] KAMU SM merkez kontör TÜKENDİ (cihaz <serial no>, remaining=0) → yerel imza (işaretli, kontörsüz).
The central KamuSM credit balance used by the appliance is exhausted (remaining: 0). No logs are lost; until credits are loaded, logs are signed locally with the appliance's server certificate and these archives are marked as signed without a credit.
- Contact your reseller or Sysnet support to load credits.
- Once credits are loaded, signing returns to KamuSM timestamps by itself; nothing else needs to be done on the appliance.
- If the log shows
yıllık kontör limiti doldu(yearly credit limit reached), the credits are not used up; the appliance has reached its limit of 365 timestamps for this year. Contact support in this case as well.
Cause 3 — Marker store error
To avoid spending a second credit on the same day, the signing service records each appliance's daily KamuSM timestamp as a marker in the local database. If this record cannot be accessed, the service fails closed: it skips KamuSM and signs the logs locally without spending a credit. The log contains this text:
işaret deposu erişilemedi (fail-closed): <error details>
- Run
diagnose healthto check the core services and disk usage; fix any[FAIL]or[WARN]lines. - Run
get hardware disk usageto confirm that the data disk has free space. - Note the error details in the line. Once the problem is fixed, KamuSM is used again in the next signing run; if it persists, add the details to your support request.
Address or account problem (“authenticated”)
If the JAR message found by the başarısız search contains “authenticated”, the request reached KamuSM but the account or the endpoint was not accepted.
- Use
show full-configuration log settingto check the values ofkamusm-server-url(http://zd.kamusm.gov.tr) andkamusm-server-port(80). - If the
addrfield in step 1 showedtzd, the setting came from an old backup. Correct it with these commands:
enable
config log setting
set kamusm-server-url http://zd.kamusm.gov.tr
set kamusm-server-port 80
end
execute commit
- If a separate KamuSM account is configured on the appliance with the
public-sm-usernameandpublic-sm-passwordfields, verify these credentials with KamuSM. If not, contact support.
Other lines you may see in the log
| Line | Meaning |
|---|---|
bugün zaten KAMU SM damgası alındı (1/gün sınırı) | Normal. The timestamp for the day has already been obtained (1 per day limit). |
KAMU SM geçici başarısız — yerele DÜŞÜLMÜYOR; sonraki saatte KAMU SM yeniden denenecek | Temporary error; no local fallback, KamuSM is retried in the next hour. If it keeps repeating, find the cause with the searches in step 2. |
KAMU SM son çare → yerel imza | No timestamp could be obtained for a long time, so the archive was closed with a local signature as a last resort. |
… dosya HİÇ imzalanamadı (KAMU SM+yerel başarısız) | Local signing failed as well. Contact support. |
What to include in a support request
- Output of
get system versionandget log signing status - Output of
get log signing list(latest archives) - Output of the three
get log service-filter imza 5000 …commands from step 2 - A screenshot of the
sysnet.kamusmfield in the/api/status-dashboard/connection-statusesresponse - Details of any firewall, proxy or HTTP inspection between the appliance and the internet
Frequently Asked Questions
Why can't the appliance obtain a KamuSM timestamp?
There are three causes: the appliance cannot reach zd.kamusm.gov.tr:80 or the request is altered on the way (network access), the central KamuSM credits are used up, or the local marker store cannot be accessed. The connection status and the three searches in the signing log tell you which one applies.
The connection status shows “connect”, but no timestamp is obtained. Why?
The connection status only shows that a TCP connection can be opened. HTTP inspection, a proxy or an IPS along the path can still break the request. Exempt zd.kamusm.gov.tr from these controls and run the başarısız search in the log.
Are logs left unsigned when the credits run out?
No. Logs are signed locally with the appliance's server certificate and marked as signed without a credit. Once credits are loaded, signing returns to KamuSM timestamps by itself.
Why does the addr field show “tzd”?
The KamuSM server address was restored from an old backup. In the config log setting section, set kamusm-server-url to http://zd.kamusm.gov.tr and kamusm-server-port to 80, then apply with execute commit.
Why must the CLI search words be typed with Turkish characters?
The search matches the log text exactly. The words TÜKENDİ, işaret and başarısız appear in the log in this form, so type them without changing the Turkish characters.
