Deployment / Docker release 1.0.0-rc.2
Run PQCTrust on your own server with one command.
The all-in-one evaluation image holds the database, every PQCTrust module and the web front door. Pull it from Docker Hub, start it, and sign in to the consoles about 15 minutes later. Nothing else is downloaded while it installs.
What is inside
Every module, in the order you set them up.
The first start creates fresh random passwords, sets up PQCTrust CA from blank (Root CA, Issuing CA, profiles, CRL and OCSP), links the HSM Service to it and opens one start page with every console.
PQCTrust CA
Root and issuing CAs, certificate profiles, CRL, OCSP and time-stamping (TSA).
HSM Service + HSM Manager
Key generation and signing through PKCS#11, here with a SoftHSM2 test token; keys, clients and tenants in HSM Manager.
PQCTrust RA
Registration authority: identity checks, enrolment approval and API clients.
WebManager
Platform users, service clients and the licence.
Signing administration + signing portal
SSA Admin configures the signing service; SSA is where users sign PDF documents.
RSSP API + Credential Service
Remote signing API for applications; the Credential Service routes each request to the right CA and key location.
MariaDB + Apache front door
One database for all modules and one web address (port 8000) for every console.
Before you start
Check the host.
Use a server or virtual machine you can dedicate to the evaluation. The container runs its own Docker engine inside, so it needs --privileged.
| Operating system | Linux on x86_64 (amd64). Tested on Ubuntu 22.04 and 24.04; Debian 12 works the same way. |
|---|---|
| CPU, memory, disk | 4 vCPU, 16 GB RAM, 40 GB free disk. |
| Docker | Docker Engine 24 or later (step 1 installs it). |
| Network | Outbound HTTPS to Docker Hub for the download. The consoles listen on 127.0.0.1:8000 only until you decide to publish them. |
| Not supported | Apple Silicon (arm64) machines, and Docker Desktop on Windows or macOS. |
Quick start
From download to sign-in in seven steps.
Run the commands on the Linux server. Each block has a copy button.
Install Docker Engine
Skip this step if
sudo docker versionalready shows a server version. Shown for Ubuntu; on Debian replaceubuntuwithdebianin the two URLs.sudo apt-get update && sudo apt-get install -y ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo $VERSION_CODENAME) stable" | sudo tee /etc/apt/sources.list.d/docker.list sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io sudo docker versionDownload the image
About 3.5 GB. All tags are listed on Docker Hub.
sudo docker pull docker.io/thrivosign/pqctrust:aio-1.0.0-rc.2Start the container
Two volumes keep the data and the generated passwords across restarts and updates of the container.
sudo docker run -d --name pqctrust --privileged --restart unless-stopped --stop-timeout 120 \ -p 127.0.0.1:8000:8000 \ -v pqctrust-engine:/var/lib/pqctrust -v pqctrust-data:/opt/thrivotrust \ docker.io/thrivosign/pqctrust:aio-1.0.0-rc.2Want to use a public name such as
pqc.example.com? Choose it now: it is written into every certificate's CRL and OCSP links at the first start. See Make it reachable by name.Wait for READY
The first start installs and checks every service, which takes about 10 to 15 minutes. Follow it with the command below; the last line says
READY. Press Ctrl+C to stop following; the container keeps running.sudo docker logs -f pqctrustOpen the start page
On the server itself open
http://localhost:8000/. From your own computer, forward the port over SSH first, then open the same address in your browser:ssh -L 8000:127.0.0.1:8000 you@your-serverThe start page lists every console in setup order, with what each one is for.
Sign in
Every installation generates its own passwords; there are no default passwords. Read each one on the server:
Order Console Path First sign-in 1 PQCTrust CA administration /ca/admin/User admin. Then add the authenticator key (second command) to an authenticator app by manual entry (TOTP). sudo docker exec pqctrust cat /opt/thrivotrust/secrets/ca_admin_passwordsudo docker exec pqctrust cat /opt/thrivotrust/secrets/ca_admin_totp_secret2 HSM Manager /hsmManager/User admin. You set a new password at first sign-in. sudo docker exec pqctrust cat /opt/thrivotrust/secrets/manager_bootstrap_password2 HSM Service diagnostics /hsm/diagnosticsStatus page of the HSM Service, no sign-in. 3 PQCTrust RA /ra/User admin. You set a new password at first sign-in. sudo docker exec pqctrust cat /opt/thrivotrust/secrets/ra_bootstrap_admin_password4 WebManager /webManagerv2/Asks for a licence first; ask us for an evaluation licence. 5 Signing administration /ssa-admin/SSA Admin, linked from the start page. 6 Signing portal /ssa/SSA, where users sign documents. 7 RSSP API /rsspv2/Remote signing API for applications. Check that everything is healthy
The release check tests every service inside the container and must end with
verdict PASS.sudo docker exec pqctrust pqctrust-aio-verify
Optional
Make it reachable by name.
Keep the consoles on 127.0.0.1 while you evaluate alone. To share them with your team, give the container its public name and put an HTTPS front end in front of port 8000.
1. Start with the public name
Use this instead of step 3, on a fresh installation (the name cannot change after the first start without reinstalling).
sudo docker run -d --name pqctrust --privileged --restart unless-stopped --stop-timeout 120 \
-p 127.0.0.1:8000:8000 \
-v pqctrust-engine:/var/lib/pqctrust -v pqctrust-data:/opt/thrivotrust \
-e PUBLIC_HOST=pqc.example.com \
docker.io/thrivosign/pqctrust:aio-1.0.0-rc.2Add -e PUBLIC_URL=https://pqc.example.com only if the public address is not https:// plus the name.
2. Publish port 8000 over HTTPS
Point a Cloudflare Tunnel public hostname at http://localhost:8000, or put your own TLS reverse proxy (nginx, Apache, a load balancer) in front of it.
Protect the administration paths before you publish: /ca/admin, /hsmManager, /webManagerv2, /ssa-admin and /ra. Use an access policy (for example Cloudflare Access or a VPN) in addition to the sign-in.
Day-to-day
Operate, stop and remove.
All commands run on the server. The container restarts by itself after a reboot.
sudo docker logs pqctrust # progress and the READY summary
sudo docker exec pqctrust pqctrust-aio-verify # release check of every service inside (verdict PASS)
sudo docker exec pqctrust docker ps # the services running inside
sudo docker stop -t 120 pqctrust # clean stop: services first, then the engine
sudo docker start pqctrust # later starts take 2-3 minutes; data is keptRemove everything
Deletes the container, all data and all generated passwords.
sudo docker rm -f pqctrust
sudo docker volume rm pqctrust-engine pqctrust-dataDocker Hub tags
One repository, one tag per component.
Every tag is docker.io/thrivosign/pqctrust:<component>-1.0.0-rc.2. Most evaluators need only aio.
| Tag | What it is | Compressed |
|---|---|---|
aio-1.0.0-rc.2 | All-in-one evaluation container: everything below in one container. Start here. | 3.4 GB |
installer-1.0.0-rc.2 | Install package for the one-container-per-service layout (never run). | 38 MB |
mariadb-1.0.0-rc.2 | Database (MariaDB 11.8). | 106 MB |
tools-1.0.0-rc.2 | Database migrations and data initialisation. | 427 MB |
ca-1.0.0-rc.2 | PQCTrust CA: CA, CRL, OCSP, TSA. | 170 MB |
hsm-1.0.0-rc.2 | HSM Service with a SoftHSM2 token for evaluation. | 125 MB |
hsm-manager-1.0.0-rc.2 | HSM Manager. | 152 MB |
ra-1.0.0-rc.2 | PQCTrust RA registration authority. | 137 MB |
credential-1.0.0-rc.2 | Credential Service. | 390 MB |
webmanager-1.0.0-rc.2 | WebManager administration. | 395 MB |
ssa-admin-1.0.0-rc.2 | Signing administration. | 373 MB |
ssa-1.0.0-rc.2 | Signing portal. | 406 MB |
rssp-1.0.0-rc.2 | RSSP remote signing API. | 397 MB |
monitor-1.0.0-rc.2 | Service monitor (optional). | 132 MB |
edge-1.0.0-rc.2 | Apache front door for the multi-container layout (amd64 + arm64). | 45 MB |
Advanced
Server install: one container per service.
For a server you keep: the database and every module in their own containers, data under /opt/thrivotrust, no --privileged. Needs Ubuntu 22.04/24.04 or Debian 12 on amd64 with Docker Engine 24+, the Compose plugin and Node.js 20.
Download the images and give them their release names
About 3 GB. The stack runs the images under
docker.io/pqctrust/<component>:1.0.0-rc.2, so each one is re-tagged after the pull.V=1.0.0-rc.2; R=docker.io/thrivosign/pqctrust for n in mariadb tools ca hsm hsm-manager ra credential webmanager rssp ssa ssa-admin monitor; do sudo docker pull $R:$n-$V && sudo docker tag $R:$n-$V docker.io/pqctrust/$n:$V || break doneGet and check the install package
sudo docker pull $R:installer-$V sudo docker create --name pqctrust-installer $R:installer-$V sudo docker cp pqctrust-installer:/pqctrust-$V-linux-amd64.tar.gz . && sudo docker cp pqctrust-installer:/SHA256SUMS . sudo docker rm pqctrust-installer && sha256sum -c SHA256SUMS tar -xzf pqctrust-$V-linux-amd64.tar.gz && cd pqctrust-$V-linux-amd64Install and start
The second line is a 1.0.0-rc.2 fix that must run before the first start: it makes sure the generated HSM Manager password meets the password policy. The check must end with
verdict PASS.sudo ./install.sh --profile qa --create-env --generate-secrets sudo sh -c 'f=/opt/thrivotrust/secrets/manager_bootstrap_password; grep -q "[-_]" "$f" && grep -q "[0-9]" "$f" && grep -q "[A-Z]" "$f" && grep -q "[a-z]" "$f" || { chmod 0600 "$f"; printf "%s" "-Aa1" >> "$f"; chmod 0444 "$f"; }' sudo ./install.sh --start cd /opt/thrivotrust/deploy && sudo ./scripts/verify-release.sh --running --wait 300 --na monitor="optional monitor not enabled"Set up the CA and the HSM from blank
Run it before the first sign-in to the CA console. Use your public address for
THRIVO_INT_CA_PUBLIC, or leave it out on a machine that will never be public. About 4 minutes; safe to run again.cd /opt/thrivotrust/deploy sudo THRIVO_INT_CA_PUBLIC=https://pqc.example.com/ca ./scripts/integration/bootstrap-dev-integration.shStart the front door
One address,
http://127.0.0.1:8000/, for every console. Sign in as in step 6 of the quick start, reading the passwords withsudo cat /opt/thrivotrust/secrets/<name>.sudo docker run -d --name pqctrust-edge --restart unless-stopped --network host --read-only --tmpfs /tmp \ -e PUBLIC_HOST=pqc.example.com docker.io/thrivosign/pqctrust:edge-1.0.0-rc.2 curl -s http://127.0.0.1:8000/edge-health # ok
Troubleshooting
If something does not start.
Most problems come from the host. When you contact us, send the output of sudo docker logs pqctrust; it contains no passwords.
The first start seems stuck
It installs and checks every service and normally takes 10 to 15 minutes, more on slow disks. Keep following sudo docker logs -f pqctrust until READY.
"exec format error" or the image does not run
The host is not x86_64. This release is built for linux/amd64 only; Apple Silicon and other arm64 machines are not supported yet.
The container exits right away
Check that --privileged is in the command and that your host policy (for example rootless Docker or a hardened runtime) allows privileged containers. Use the server install above if it cannot.
Port 8000 is already in use
Publish another host port, for example -p 127.0.0.1:8080:8000, and open http://localhost:8080/.
The CA console rejects the authenticator code
The codes depend on the clock. Make sure the server and your phone have the correct time (NTP), and add the key from ca_admin_totp_secret again by manual entry.
WebManager asks for a licence
That is expected. Enrolment and signing need an evaluation licence; ask us for one.
Out of memory or services restarting
The full stack needs 16 GB RAM. Check free -h and sudo docker exec pqctrust docker ps for restarting services.
Evaluation only. In this release the HSM Service runs in TEST mode with a SoftHSM2 software token, which is not hardware key protection; packages are signed with a test key; there is no Update Center inside the all-in-one image. Enrolment and signing need a WebManager evaluation licence. Do not use real personal data or production keys.
DOCKER EVALUATION
Evaluate PQCTrust in your own environment.
Pull the evaluation image from Docker Hub and follow the Docker release guide, or ask us to run an assisted evaluation with your HSM.