WinCA (HSM)

Connect a WinCA certificate with its API ID and secret key and sign instantly, with no code or password to type.

In plain words: WinCA (HSM) keeps your certificate inside an HSM (hardware security module, a secured device on a server). You link the certificate to E-Sign once with an API ID and a secret key, which are like a username and password for programs. After that, signing needs nothing from the signer: no code, no password, no phone. Read this page if WinCA issued you an API ID and secret key. New to these terms? See E-Sign basics.

Where to find it: In E-Sign, open Settings at the bottom of the left sidebar, then Accounts under Integrations. Connect from the Signature Accounts tab. Who can use it: Any member can connect an account after an administrator has added the HSM server (Add an HSM server).

At a glance

Topic

WinCA (HSM)

Engine

Digital signing. A WinCA signing server signs a fingerprint (hash) of your document.

How the signer approves

Nothing to type. Signing runs as soon as the signer clicks sign.

Documents and fields per approval

One document and one signature position per approval (why)

Account type

Personal or Enterprise, read from the certificate

Works on

Computer and phone browsers

Connect or register

Connect an existing certificate. Certificates are issued by WinCA, outside E-Sign.

You need from the provider

API ID, secret key, and a server address that an administrator has saved

Before you start

Connect your certificate

  1. In E-Sign, open Settings at the bottom of the left sidebar, then click Accounts under Integrations.

  2. On the Signature Accounts tab, click Connect. The dialog "Connect signature account" opens.

  3. Click the WinCA (HSM) tile. The dialog "Connect WinCA (HSM)" opens.

  4. In API ID, type the API ID from WinCA.

  5. In Secret key, type the secret key. The characters are hidden as you type.

  6. Open the HSM server list ("Select a server…") and choose your WinCA server.

  7. Optional: in Alias, type a short label.

  8. Click Connect. E-Sign contacts the server, reads your certificate, and adds the account with status Active and the note "Authorize by API key".

The **Connect WinCA (HSM)** dialog

The account name and type (Personal or Enterprise) come from the certificate, not from the form. Connect stays greyed out until API ID, secret key and server are filled.

Important: Because signing needs no password, the API ID and secret key are saved with the account. Connect only certificates you are allowed to sign with, and keep the key private.

Manage the account

Use the Actions menu (three dots) on the account's row.

Action

What it does

Edit

Change the alias or email. The name comes from the certificate.

Set as default

Pre-selects this account when you sign

Disable

Stops the account from being offered for signing. You can enable it again.

Enable

Turns a disabled account back on

Remove

Deletes the account permanently

Read more in Signing accounts: connect, manage and statuses.

What the signer sees at signing

  1. The signer opens the signing link and reaches the signing screen. See Sign a document.

  2. The signer chooses the WinCA account, or E-Sign selects the default account.

  3. The signer clicks the signing button.

  4. The signature is applied at once. There is no code, no password and no waiting screen.

  5. If the envelope needs more approvals, the page shows "Signing Session 2 of 3" and signs the next one the same way.

The signing panel

Limits and good to know

  • Each approval signs one signature position of one document, so an envelope with several documents or fields needs several approvals. They run quickly because nothing is typed.

  • The certificate decides the account type. If WinCA renews your certificate, connect the new certificate as a new account and disable the old one.

  • A certificate that has expired is refused by WinCA at signing (see the table below). E-Sign shows the expiry date in the account list under Validity.

  • The server address comes from the list your administrator maintains. Members cannot type their own.

Error codes and messages

Code or message

What it means

Who fixes it

What to do

1002, "[WinCA] The signing certificate has expired" (card "The request was declined")

WinCA refused because the certificate's validity has ended

Account owner

Renew the certificate with WinCA, connect the renewed certificate, and disable the old account

103 or 2010 (card "This credential was rejected")

WinCA did not accept the API ID and secret key: the secret is wrong, was changed, or was revoked

Account owner

Ask WinCA for current keys, remove the account and connect it again with the new ones

"[WinCA] Error {code}: {message}"

WinCA returned its own error. The text and number come from WinCA.

Provider

Quote the code to WinCA support

"[WinCA] HTTP {status}: {body}"

The WinCA server answered with an error status

Provider

Try again. If it repeats, ask WinCA to check the server.

"[WinCA] Error: no response from the SignServer"

E-Sign could not get an answer from the WinCA server

Provider or network

Try again later. Ask your administrator to check the server address if it keeps happening.

"[WinCA] Missing api_id / secret_key: reconnect"

The account lost its keys

Account owner

Remove the account and connect it again

"Couldn't reach {name}" (card)

A connection problem on the provider's side or the network. Nothing was signed.

Provider or network

Start signing again

Connect-time messages are in Connecting and account errors. Every signing card is in Signing screens and errors explained.

Troubleshooting

Problem

Why it happens

What to do

The HSM server list is empty

No server is saved under WinCA (HSM)

Ask an administrator to add one (Add an HSM server)

"This WinCA certificate is already connected"

The same certificate is already linked, maybe by a colleague

Ask the owner or an administrator to disable or remove that account first

Signing asks the signer for nothing, but fails with "This credential was rejected"

The stored API ID or secret key is no longer valid

Reconnect the account with new keys

The certificate shows an old Validity date

The account was linked before a renewal

Connect the renewed certificate as a new account