# HSM Mắt Bão

Connect your organization's HSM Mắt Bão account and sign by typing your HSM password at each approval.

Source: https://support.rework.com/article/esign-provider-hsm-mat-bao

> **In plain words:** HSM Mắt Bão is a signature provider that keeps your organization's signing key in an **HSM** (hardware security module, a secured device on a server). You link your HSM account to E-Sign once. At signing, you type your HSM account password, and the HSM signs the document for you. Read this page if your organization already has an HSM Mắt Bão account. New to these terms? See [E-Sign basics](https://support.rework.com/article/esign-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](https://support.rework.com/article/esign-hsm-servers)).

## At a glance

| 
Topic

 | 

HSM Mắt Bão

 |
| --- | --- |
| 

Engine

 | 

Digital signing. The HSM signs the whole PDF with your organization's certificate.

 |
| 

How the signer approves

 | 

Types the HSM account password at every approval. There is no SMS code and no phone app.

 |
| 

Documents and fields per approval

 | 

One document and one signature position per approval, so more fields mean more approvals ([why](https://support.rework.com/article/esign-signing-sessions)).

 |
| 

Account type

 | 

Organization. The account shows as Enterprise in the list.

 |
| 

Works on

 | 

Computer and phone browsers

 |
| 

Connect or register

 | 

Connect an existing account. Certificates are issued by Mắt Bão, outside E-Sign.

 |
| 

You need from the provider

 | 

Organization name, tax code, HSM username, HSM password, and a server address that an administrator has saved

 |
| 

Password stored by E-Sign

 | 

Never. You type it each time.

 |

## Before you start

- An administrator has saved your Mắt Bão server under the provider **HSM Mắt Bão**. See [Add an HSM server](https://support.rework.com/article/esign-hsm-servers).
  
- You have your organization's name, tax code, HSM username and password from Mắt Bão.
  
- Your organization allows this provider. See [Choose which providers your organization allows](https://support.rework.com/article/esign-allowed-providers).
  

## Connect your account

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 with one tile per provider.
   
3. Click the **HSM Mắt Bão** tile. Click **Learn more** on the tile first if you want to read about it. The dialog "Connect HSM Mắt Bão" opens.
   
4. In **Organization name**, type your organization's name. This becomes the account name in your list.
   
5. In **Tax code**, type your organization's tax code.
   
6. In **Username**, type your HSM account username. The hint reads "Your HSM Mắt Bão account username."
   
7. Open the **HSM server** list ("Select an HSM server…") and choose your server. Each option shows the server's name and its address.
   
8. Optional: in **Alias**, type a short label to tell this account apart from others.
   
9. Click **Connect**. The dialog closes and the account appears in the table with status **Active** and the note "Authorize by Passcode".
   

![The \*\*HSM server\*\* field when no server is saved under HSM Mắt Bão](https://storage.googleapis.com/reworkv3-public/success/261015/gIIbJ06fz1jkjEkGQ3k55ROrl1Y6bPP1pXcxd7ovT1EshjSJ6Aa4FU6Diun7jJbC/img.LzntdvQmEpHLdLSVkwR9UiQtlKuWcw8GXFP97a2QCZC1HpP6n5xmnoHqy4sYyLDp.png)

![The \*\*Connect HSM Mắt Bão\*\* dialog](https://storage.googleapis.com/reworkv3-public/success/261015/7iOX57BvfCYgwwArdvW1tcDilf6WEJIGzhbDnRCDNcDoJJSzpCCCeFzcWbgwwN0S/img.R0OvULuC0INUT0um6Km4m2Mb02Nw7KXlWXsm19AKG2eDXFq7vT3C0UxFqyRILxJ4.png)

**Connect** stays greyed out until the organization name, tax code, username and server are all filled. E-Sign does not check your password at this step, because the password is only used at signing. A wrong username or tax code shows up the first time you sign.

> **Important:** You cannot link the same HSM username twice. If someone in your organization already linked it, you see "This HSM account is already connected" with an account number. Ask them to disable or remove that account first. See [Connecting and account errors](https://support.rework.com/article/esign-account-errors).

## Manage the account

Open the **Actions** menu (three dots) at the end of the account's row, or open the account to use the **Actions** button.

| 
Action

 | 

What it does

 |
| --- | --- |
| 

Edit

 | 

Change the alias or email. The name is fixed once the account is connected.

 |
| 

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

 |

The full list of statuses and actions is in [Signing accounts: connect, manage and statuses](https://support.rework.com/article/esign-signing-accounts).

## What the signer sees at signing

1. The signer opens the signing link and reaches the signing screen. See [Sign a document](https://support.rework.com/article/esign-sign-a-document).
   
2. The signing panel says "You'll enter your signing passcode". HSM Mắt Bão uses your HSM account password as this passcode.
   
3. The signer chooses the HSM Mắt Bão account, or E-Sign selects the default account.
   
4. The signer starts signing. A field labelled **Your signing passcode** asks for the HSM password.
   
5. The signer types the password and confirms. The HSM signs at once. There is no waiting screen.
   
6. If the envelope needs more approvals, the page shows "Signing Session 2 of 3" and asks for the password again.
   

![The signing panel](https://storage.googleapis.com/reworkv3-public/success/261015/3zLPJrK96xyV0Iz0koVlyC8NcsR72kYJDJVfxUnAW9eQbM5AH3h16CF3ARs38f1J/img.lZe3lHrjVNACpGtJO232MzvWkYGHgoER7Z1QzHNQsUpbwj6upgNMW38txP11xoNk.png)

If the password is wrong, a card reads "That code isn't right" with the line "Check it and enter it again: your signing request is still open." The signer clicks **Try a different code** and types it again. The attempt is not lost.

## Limits and good to know

- Each approval signs one signature position of one document. An envelope with 2 documents and 1 signature field each needs 2 approvals.
  
- The password is typed every time and is never saved by E-Sign.
  
- Your drawn or typed signature, initials or stamp is placed in the box on the page. Stamp images are scaled to fit the box.
  
- The server address must be an `https://` address.
  
- This provider needs no phone and no app, so it works the same on a computer and on a phone browser.
  

## Error codes and messages

| 
Message you see

 | 

What it means

 | 

Who fixes it

 | 

What to do

 |
| --- | --- | --- | --- |
| 

"That code isn't right" (card), often with "\[HSM Mắt Bão\] {message}" in the activity log

 | 

The HSM did not accept the password. A wrong username or tax code on the account fails the same way.

 | 

Signer

 | 

Type the password again. If it keeps failing, check the account's username and tax code, or ask Mắt Bão to confirm the password.

 |
| 

"\[HSM Mắt Bão\] Passcode is required"

 | 

The password box was empty

 | 

Signer

 | 

Type the password

 |
| 

"\[HSM Mắt Bão\] No signature field to sign"

 | 

The signer has no signature field on the document

 | 

Sender

 | 

Add a signature field for this signer, or void and send again. See [Place fields on the document](https://support.rework.com/article/esign-place-fields).

 |
| 

"\[HSM Mắt Bão\] Signing failed" or "\[HSM Mắt Bão\] Signing returned no data" (card "The request was declined")

 | 

The HSM refused to sign or returned nothing

 | 

Provider

 | 

Try again. If it repeats, ask Mắt Bão to check the server and the certificate.

 |
| 

"This signing method isn't set up" (card), "\[HSM Mắt Bão\] HSM server not found in the system registry"

 | 

The server that the account points to was removed from the list

 | 

Administrator

 | 

Add the server back ([Add an HSM server](https://support.rework.com/article/esign-hsm-servers)), then connect the account again

 |
| 

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

 | 

A connection problem between E-Sign and the HSM server

 | 

Provider or network

 | 

Start signing again. If it repeats, ask your administrator to check the server address.

 |

Connect-time messages are in [Connecting and account errors](https://support.rework.com/article/esign-account-errors). Every signing card is in [Signing screens and errors explained](https://support.rework.com/article/esign-signing-errors).

## Troubleshooting

| 
Problem

 | 

Why it happens

 | 

What to do

 |
| --- | --- | --- |
| 

The **HSM server** list is empty

 | 

No server is saved under HSM Mắt Bão

 | 

Ask an administrator to add one ([Add an HSM server](https://support.rework.com/article/esign-hsm-servers))

 |
| 

**Connect** is greyed out

 | 

One of the four required fields is empty

 | 

Fill in Organization name, Tax code, Username and HSM server

 |
| 

You are asked for a password at every signature

 | 

Each approval needs its own password

 | 

This is how the provider works. Fewer fields and documents mean fewer prompts.

 |
| 

HSM Mắt Bão is missing from the tiles

 | 

Your administrator has switched the provider off

 | 

See [Choose which providers your organization allows](https://support.rework.com/article/esign-allowed-providers)

 |
