Documentation Index
Fetch the complete documentation index at: https://fireblocks-43c4b3ee-chore-add-cli.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Note: You must have root privileges on the Co-signer machine to perform maintenance operations. Ensure you are logged in as a root user or use sudo to execute the commands.
View the logs
You can export the logs to a file in the local directory, tagged with the current date and time, by running the following command:/var/log/customer_cosigner.log
The log policy is as follows:
Observe the status
You can observe the Co-signer’s status by running the following command from the EC2 instance:ACTIVE in the “Service State” field, there’s a problem. Contact Fireblocks support and attach the Co-signer’s logs so we can investigate.
List the paired API users
You can list all API users paired with the Co-signer across the connected workspaces by running the following command:Retrieve the public key
You can retrieve the Co-signer’s public key, used by your optional Callback Handler server to authenticate requests from the Co-signer, by running the following command:Stop the Co-signer
You can stop the Co-signer by running the command:Start the Co-Signer
You can Start the Co-signer by running the command:Restart the Co-Signer
You can restart the Co-signer by running the command:Update the Co-signer
Retrieve the URL of the AWS Nitro installation package from the Console and use thewget command to download the package directly to the EC2 machine. Paste the appropriate URL into the following command:
Note: If you have any issues with finding the installation package URL, please contact Fireblocks Support.Unpack the installation package by running the following command:
- Pairing token
- S3 bucket
- ARN of the CMK
/opt/fireblocks/env.txt, where they are labeled as follows:
- PAIRING_TOKEN
- BUCKET_NAME
- KEY_ARN
Migrate to a new machine
Note: Since the logs are saved to the EC2 instance, you might want to save them before terminating the machine.Throughout the migration process, refer to the AWS Nitro Co-signer installation guide, as some operations are identical. Follow these steps to migrate the Co-signer to a new EC2 machine:
- Set up a new EC2 Nitro-capable instance.
- Download the installation package to the new instance.
- Create a new API user that will be used to connect to the new Co-signer instance.
- Stop the running Co-signer operation by executing the command
systemctl stop cosigneron the existing EC2. - Run the installation script and provide the same S3 bucket and CMK values when prompted to enter parameters during the installation.
Configure a proxy server
By default, the Co-signer is configured to communicate directly with Fireblocks SaaS without using a proxy server. Since the Co-signer uses certificate pinning for secure communication with Fireblocks SaaS, only a transparent proxy can be used between the Co-signer and Fireblocks SaaS. To configure a proxy server, add the key valueHTTPS_PROXY="URL" as an environment variable to the following file:
/opt/fireblocks/env.txt
Configure the communication protocol
By default, the Co-signer is configured to use WebSocket to communicate with Fireblocks SaaS. You can switch to HTTPS Long Polling by turning WebSocket off. To turn WebSocket off, add the key valueWEBSOCKET=0 as an environment variable to the following file:
/opt/fireblocks/env.txt