PQCTrust

HSM Service diagnostics

Check this instance's configuration, database, HSM tokens and cryptography - without HSM Manager.

PQCTrust 1.0.2611260250

Sign in

12 to 128 characters, at least three of: upper-case letter, lower-case letter, digit, symbol. It must not contain your user name.

HSM Service diagnostics

·

Instance

HSM Manager

Reset and re-initialise

Removes this instance's configuration (hsm.properties, backed up to data/config-backups) and the administrator secret, then restarts into the setup page with a new setup code (secrets/setup-code.txt). The HSM tokens with their keys, and the database, are kept.

Re-initialises this HSM Service container: the settings changed on this page or in the HSM Manager (Configuration) are removed, then the service restarts and initialises again from its install configuration (HSM token, bootstrap clients, CA link). The HSM tokens with their keys, the database records and the audit trail are kept. The service is unavailable for up to a minute; sign in again afterwards.

Configuration file

Secret settings (passwords, PINs, secret references) show as ********: leave them as they are to keep their value, or replace the whole value with a new reference such as file:secrets/name.secret. Saving checks the file with the service's own start-up checks first; the previous file is kept in data/config-backups. Changes take effect after a restart.

Service settings

Settings that can be changed here without editing the file. Each change is checked by the service, recorded in the audit trail with your name and kept across restarts. Reset to file returns a setting to the value in hsm.properties.

Current settings (as loaded at start-up)

Sanitised: secret values, PINs and secret file paths are never shown - only whether each reference is set and resolvable.

Required settings

Settings

Database

Authentication and transport

Devices

Certificate authority connection

How this HSM Service reaches the CA Engine to issue, renew and revoke certificates. A saved connection is used at once, with no restart, and is kept across restarts. The values in hsm.properties stay as the fallback. The client secret is stored encrypted and is never shown again: leave it empty to keep the saved one.

Saved configuration

What is in force now and where each value comes from. The client secret is never shown: it is stored encrypted (or read from its reference). Verify saved credential asks the CA to accept the saved client ID and secret, without showing or changing them.

Issuing CAs and certificate profiles

Pick the CA and the certificate profile this HSM Service may issue from instead of typing identifiers. The list comes from the CA Engine itself and shows only what the CA allows this client; nothing is created or stored by loading it. It uses the saved connection above.

Use this CA and profile

Optional. A stored profile lets callers enrol by alias.
Only key types the CA accepts for this profile and this HSM can generate.

Or enrol directly, without a stored profile: send this to POST /api/v1/credentials.


        

Credential profiles

Click a profile to see its details and what the CA says about it.

Your account

Signed in as (). Changing your password signs your other sessions out. 12 to 128 characters, at least three of: upper-case letter, lower-case letter, digit, symbol; it must not contain your user name.

Credentials

The signing credentials created through the credential API (the enrolments), newest first, each with the id of its current certificate. Read only. Click a row for the certificate, the CA references, the generations and the operations (with their correlation ids).

PKCS#11 HSM setup

Connect this service to its HSM in three steps: choose the PKCS#11 module and slot, test the PIN, then save and restart. Nothing is saved until the token has accepted the login. The PIN is stored owner-only on this server and is never shown again.

1. PKCS#11 module

2. Slot and PIN

Leave empty to test the PIN that is already configured. A wrong PIN counts against the token's retry counter.

    3. Save and restart

      The HSM token changed

      Administrators

      The people who sign in to this HSM Service's diagnostics page and administration portal. Each has one role. Every sign-in, refusal and change is written to the audit trail with the user name and address (see Activity & log).

      Temporary password

      Give it to the person now: it is shown once and cannot be retrieved. They choose their own password at the first sign-in.

      Add an administrator

      3-64 characters: lower-case letters, digits, . _ -
      Leave empty to generate a strong one.

      Roles

      None of the roles can create keys or sign: administering the HSM Service and using a key are separate duties.

      New credentials - shown only now

      Copy them into the application now. They cannot be shown again.

      API clients

      An application that calls this HSM (for example the credential service). Each client belongs to one tenant and may do only what its roles allow. Its secret is shown once when it is created; a lost secret is rotated, never recovered.

      Add API client

      No suitable tenant? Add one under Tenants first.
      The name the application signs in with. It must not be in use already.
      Roles (what the application may do)

      Edit API client

      Roles

      Credentials and status

      Tenants

      A tenant groups the API clients, keys and certificates of one organisation or platform. Create it once; every API client belongs to exactly one tenant and sees only that tenant's keys. A suspended tenant's clients are refused.

      Add tenant

      2-63 characters: lower-case letters, digits and dashes, starting with a letter or digit. It cannot be changed later.

      Edit tenant

      Status

      How other services connect to this HSM

      The current setup of this HSM service, read from its running configuration. Give a calling service the addresses below and an API client from the API clients tab. No secret is shown here.

      Status

      Addresses

      Settings a calling service needs

      Create the client ID and secret on the API clients tab. The secret (and the request-signing key) is shown only once, when the client is created or its secret is rotated.

      Sign-in method and limits

      Device and certificate authority

      Try it from a terminal

      Replace the client ID and secret with the ones you created.

      Effective HSM configuration

      Each setting in force with where it comes from (FILE, ENV, OVERRIDE, RUNTIME), what the PKCS#11 module and the token actually report, and a configured-versus-actual comparison. Read-only: no test login, no signing, and never a PIN. A configuration that only parses is not reported as hardware verified.

      The keys the service has recorded. Check against the HSM asks each device's token whether every recorded key is really there, and whether the token holds keys the database does not know. It only reads; nothing is changed. Key names and owners are not shown here.

      Signing history

      Checks

      Automatic runs

      Activity

      Audited actions on this instance, each with the user who did it and the address it came from (sign-ins and sign-outs, account changes, key operations, configuration changes, restarts and diagnostics).

      Service log

      The newest entries of logs/hsm-service.log, newest first; paths and connection strings are masked. Needs the diagnostics administrator permission.