Skip to content

PDF signing

Crios signs PDFs as advanced electronic signatures or seals in the PAdES format (ETSI EN 319 142-1, baseline levels B-B, B-T, B-LT and B-LTA). The private key never leaves the place that holds it — a cloud key management service such as AWS KMS, Google Cloud KMS, Azure Key Vault or an Alibaba Cloud KMS instance. Crios asks that key holder to sign a digest; it never sees, stores or exports the key.

Signing is an organization feature, managed by the organization's owners and admins under Organization → Signing, and used by projects through workflows or the API.

Turning it on

Every signing screen and route is off unless two things are true:

  • the deployment's licence includes the pdf-signing feature, and
  • the organization has the signing.pdf setting, which an instance administrator turns on for it.

Where either is missing, the Signing tab does not appear on the Organization page, and a link to it says that signing is not enabled. Nothing else changes: no route answers, and no workflow step can sign.

An instance administrator turns the setting on under Admin → Organizations → Edit organization → PDF signing. For every step from deployment to the first signed PDF, see Setting up PDF signing.

What a signing identity is

A signing identity is one key in one key holder, plus the certificate a certificate authority (CA) issued for that key. It is what a signature is made with:

  • The key lives in your key holder. When the identity is created, Crios opens the key holder with the credential you give it, reads the key's public key and keeps it. From then on the identity signs with that key only: if the key holder ever reports a different public key, the identity stops signing and the Activity tab says so.
  • The provider credential (an access key, a service-account key file, a client secret) is write-only. It is sent once to the signing service's own vault, which no project, workflow or sandbox can read, and is never shown again. You can replace it; you cannot read it back.
  • The certificate says who signs. Until one is installed the identity signs nothing. A key holder that already carries a certificate for the key (some do) has it installed when the identity is created.
  • Defaults are what a signature uses when the caller does not say: the level, the timestamp authority, the reason, location and contact.
  • The policy is what the identity allows: which levels, which reasons, the largest document, how many signatures per minute and per day, whether a timestamp or a visible signature is required, and whether certification signatures are allowed. A request the policy refuses is recorded before the key holder is asked.
  • Grants say which projects may sign with it.

An identity's status is one of: Needs a certificate, Active, Unavailable (the key holder is not answering or refuses the credential), Certificate expired, Certificate revoked and Disabled (switched off by an admin). Only an active identity signs.

Creating an identity

Organization → Signing → Identities → New identity opens a wizard:

  1. Key holder. Pick the provider. The development key holder (Development key) is listed only on deployments that allow it, and is never for real documents.
  2. Credential. Name the identity, then fill in the provider's settings and credential. The form shows the least-privilege grant to give the principal: see Key holders and their grants.
  3. Key. Choose the signature algorithm, where the key holder lets you, and create the identity. Crios opens the key holder now, so a wrong credential or key is reported here.
  4. Certificate. Either Request a certificate: fill in the subject (a common name at least), download the certificate signing request (CSR) and send it to your CA; or Install a certificate: paste or upload the certificate the CA issued, followed by its chain, in PEM. You can leave this step and come back later from the identity's page.
  5. Test. The test asks the key holder to sign a probe message, checks the signature against the identity's key and, when a timestamp authority is set, asks it for a timestamp. It signs no document.

The install checks that the certificate is for this identity's key, valid today, allowed to sign (digitalSignature or nonRepudiation), and that its chain links up. A refusal says which of these failed. A missing OCSP or CRL pointer is a warning, not a refusal: private CAs often have none, but B-LT and above then need the certificate's status from elsewhere.

Never paste a private key

The install takes certificates only. The page refuses text that holds a private key before sending anything.

An identity's page

Click an identity, or ⋮ → Open, to see its status, key, protection level (software or HSM, as the key holder reports it) and certificate: subject, serial number, issuer key ID, SHA-256 fingerprint, validity and chain length. From there you can request a new certificate, install one, edit the name, defaults and policy, replace the credential, grant the identity to projects, and delete it.

Whether a PDF reader shows a signature as trusted depends on the CA, not on Crios: see What "compliant" means.

Granting an identity to a project

Under Projects on an identity's page, pick a project of your organization and Grant. The grant adds a connection named Signing: \<identity name> to the project's connectors, which the project's workflows bind to sign. The connection holds only a handle for the grant, never a provider credential; it cannot be created, edited or deleted by hand in the project. Withdraw removes the grant and the connection, and the project's workflows that sign with it start failing.

Trust anchors

Trust anchors are the CA certificates your organization's verifications trust — your own CAs, typically. When a project verifies a signed PDF, a signature is trusted if its certificate chains to one of them. A verification can also ask to consult the EU trusted lists; the signing service reads them, checks their signatures, keeps them current and reports a signature trusted that way as trusted via an EU trusted list. Crios never claims a signature is qualified: see What "compliant" means.

The signing log

Log lists every signature attempt in order: when, which identity and project, the level, the outcome (Done, Refused, Failed, Started, Abandoned) and the SHA-256 of the signed file. The log is append-only and hash-chained: each row carries the hash of the one before it. The Chain card at the top recomputes every hash and says either that the chain is intact or which row does not follow, and why. Export downloads every row as JSON (the export is itself recorded). From an identity's ⋮ → Signing log the page shows that identity's rows.

No row, no signature: a signature is never made without its log row being written first.

Activity

Activity lists the organization's own signing.* audit events — identities created and edited, certificates requested, installed, refused, expiring or revoked, grants, refused and failed signatures, key holder outages, trust anchors added and removed, a broken log chain — with who did it (or Crios, for events no person started). Each action is labelled in your language. Instance administrators see the same events in the Admin audit log with the filter signing..

Audit payloads carry facts only: never a credential, a vault path, a document, a signature value or a certificate's subject.