Audit Clean
Isolated Compliance and Interoperability Audit Build
Overview
Dedicated clean-checkout verification build of the AS2 EDI gateway used to run cryptographic test suites, certificate expiry checks and OpenAS2 interoperability validation away from active development branches.
The problem
Enterprise EDI integrations need reproducible security and interoperability audits before partner certification. Testing on a branch with in-flight changes produces results nobody can defend in a partner security review.
The solution
Maintained a clean, pinned build of the gateway with its own configuration and test fixtures. It runs the cryptographic test suite, verifies certificate validity windows, and exercises OpenAS2 interoperability scenarios so certification evidence is generated from a known-good tree.
Project gallery
Technical architecture
Pinned audit build with repeatable crypto and interoperability checks
Pinned Source Tree
Clean checkout at a tagged commit so every audit run is reproducible and attributable.
Crypto Test Suite
Covers signing, encryption, digest verification and malformed-payload rejection paths.
Certificate Auditor
Checks validity windows, chain completeness and algorithm strength for every configured partner.
Interoperability Harness
Runs OpenAS2 exchange scenarios and records pass/fail evidence for partner certification.
Methodology
- Pinned dependencies and fixtures so results do not drift between runs
- Automated the crypto suite including negative cases for tampered payloads
- Added certificate expiry and weak-algorithm reporting to the audit output
- Archived per-run evidence for partner and internal security review
Results & impact
Key impact
- Gave partner certification a defensible, reproducible evidence trail
- Caught certificate expiry before it interrupted production exchange
- Kept security testing isolated from active development branches
Challenges & solutions
Environment Drift
Locked dependencies and containerized the audit run so results match across machines
Negative-Path Coverage
Added explicit tampered-signature and expired-certificate cases that must fail closed