Quick Command Summary (TL;DR)
If you already have an evidence folder containing manifest.sha256 and manifest.sha256.tsr, these three commands audit the entire integrity chain end-to-end:
# 1. Verify every artifact matches manifest.sha256
sha256sum -c manifest.sha256
# 2. Read the certified UTC time, TSA signer, and imprinted SHA-256 digest
openssl ts -reply -in manifest.sha256.tsr -text
# 3. Cryptographically verify the .tsr signature against the TSA Root CA
openssl ts -verify -in manifest.sha256.tsr -data manifest.sha256 -CAfile <tsa_root_ca.pem>
If Step 1 returns OK for every file and Step 3 prints Verification: OK, you have mathematically confirmed that not a single byte of any artifact or manifest changed since the TSA signed the timestamp.
Step 1: Verify Individual File Hashes (manifest.sha256)
Rather than timestamping each file separately, forensic evidence bundles (including PageNotary .zip archives) hash every artifact โ capture.pdf, archive.mhtml, and metadata.json โ into one text file called manifest.sha256, and then timestamp the SHA-256 digest of manifest.sha256 itself.
Linux / macOS
unzip pagenotary-sample-evidence.zip -d audit_bundle
cd audit_bundle
sha256sum -c manifest.sha256
# macOS alternative if sha256sum is not installed:
shasum -a 256 -c manifest.sha256
Expected output:
capture.pdf: OK
archive.mhtml: OK
metadata.json: OK
Windows (PowerShell)
Get-Content manifest.sha256 | ForEach-Object {
$expected, $file = $_ -split '\s+', 2
$actual = (Get-FileHash $file -Algorithm SHA256).Hash.ToLower()
if ($actual -eq $expected.ToLower()) { "$file : OK" } else { "$file : MISMATCH" }
}
Step 2: Inspect the RFC 3161 Token (openssl ts -reply)
Before validating the certificate chain, inspect the human-readable fields inside manifest.sha256.tsr. This requires no CA file and works completely offline:
openssl ts -reply -in manifest.sha256.tsr -text
Key fields to verify in the output:
| Field | What to look for | Why it matters |
|---|---|---|
Status |
Granted. |
Confirms the TSA accepted the request and issued a valid token. |
Hash Algorithm |
sha256 |
Modern collision-resistant digest algorithm (avoid legacy SHA-1). |
Message data |
32-byte hex digest | Must match the exact SHA-256 of manifest.sha256 (check with sha256sum manifest.sha256). |
Time stamp |
e.g. Nov 26 18:45:31 2026 GMT |
The independent, authoritative UTC clock attested by the TSA. |
Serial number & Policy OID |
Unique hex ID & OID | Links the token to the TSA's published timestamping policy and audit logs. |
You can also inspect the X.509 certificate(s) embedded inside the .tsr CMS structure:
openssl ts -reply -in manifest.sha256.tsr -token_out | openssl pkcs7 -inform DER -print_certs -text -noout
Step 3: Cryptographically Verify the Signature (openssl ts -verify)
To verify that the .tsr signature was genuinely produced by the Time Stamp Authority (and not forged with a self-signed certificate), pass the TSA's trusted Root CA certificate via -CAfile.
Verifying a DigiCert RFC 3161 Token
DigiCert embeds its signing and intermediate certificates directly inside the .tsr token, chained up to the DigiCert Trusted Root G4 root certificate (available from DigiCert's official Trusted Root Certificates repository or your OS CA bundle):
# Using DigiCert's Trusted Root G4 PEM (or your system CA bundle, e.g. /etc/ssl/certs/ca-certificates.crt)
openssl ts -verify \
-in manifest.sha256.tsr \
-data manifest.sha256 \
-CAfile DigiCertTrustedRootG4.crt.pem
Verification: OK โ OpenSSL confirmed that the SHA-256 hash of manifest.sha256 matches the imprinted hash in the token, the CMS signature is valid, and the signing certificate chains cleanly to the trusted DigiCert Root CA with the timeStamping extended key usage.
Verifying a FreeTSA RFC 3161 Token
FreeTSA is a community RFC 3161 authority (used by PageNotary as automatic failover). Because FreeTSA's root is not pre-installed in OS trust stores, download cacert.pem and tsa.crt from freetsa.org and pass both:
openssl ts -verify \
-in manifest.sha256.tsr \
-data manifest.sha256 \
-CAfile cacert.pem \
-untrusted tsa.crt
Common OpenSSL Verification Errors & Fixes
| Error Message | Cause | How to Fix |
|---|---|---|
unable to get local issuer certificate |
Missing root or intermediate CA certificate in -CAfile. |
Inspect the embedded issuer via openssl pkcs7 -print_certs and supply the matching Root CA PEM (e.g. DigiCert Trusted Root G4 or your system CA bundle). |
message imprint mismatch |
manifest.sha256 was modified (even by 1 byte or a line-ending change) after timestamping, or you passed the wrong -data file. |
Confirm you passed -data manifest.sha256 (not capture.pdf) and check that no text editor re-saved the file with modified CRLF/LF line endings. |
certificate has expired |
The TSA's signing certificate expired years after the capture. | Normal for long-term archives; check the certificate's validity window against the token's certified Time stamp date, or re-timestamp long-term archives before CA expiry per RFC 4998. |
.zip archive intact. Never open and re-save manifest.sha256 in a text editor โ changing even a trailing newline alters its SHA-256 digest and breaks verification.
Zero-Install Alternative: 100% Local Browser Verification
Non-technical recipients โ such as opposing counsel, HR investigators, or payment dispute teams โ rarely want to install OpenSSL or download root CA PEM files.
That is why PageNotary includes a free, zero-upload browser verifier at
verify.pagenotary.app.
It unzips the bundle in browser memory, recomputes every artifact's SHA-256 digest via Web Crypto (crypto.subtle), parses the ASN.1 DER .tsr structure, and cryptographically verifies the CMS RSA/ECDSA signature against the embedded TSA certificate โ without a single byte ever leaving the recipient's computer.
You can test it right now on a genuine DigiCert-signed sample bundle: Open live DigiCert verification demo โ