Applicability Statement 2 (AS2), also known as EDIINT AS2, is an IETF protocol for secure, reliable messaging over HTTP. Data is sent over the internet using HTTP or HTTPS. AS2 reuses the signing, encryption, and MDN conventions from AS1. AS2 is widely deployed point-to-point; it adds verification and security through receipts and digital signatures, with real-time transactions and acknowledgements. Walmart helped drive AS2 adoption in retail.
How AS2 works
To establish AS2 you need two endpoints (server and client roles) connected over the internet. AS2 wraps the payload in an envelope that enables secure transmission using digital certificates and encryption.

What is an AS2 MDN?
A Message Disposition Notification (MDN) is an electronic acknowledgement sent back to the sender after a message is transmitted, confirming successful receipt.
The MDN confirms:
- The AS2 transfer completed successfully.
- The message arrived at the intended recipient without change.
Typical MDN flow
- Sender transmits an encrypted, signed EDI message.
- Message travels over the internet via AS2.
- Recipient decrypts and verifies the sender’s signature.
- Recipient builds the requested MDN, signs it, and returns it to the sender.
- Sender receives the MDN and verifies the recipient’s signature.
What you need for AS2
- AS2-capable software on both sides.
- An AS2 identifier (AS2 name) and typically one certificate per partner relationship.
- Public keys for all partner certificates in use.
AS2 certificates
Certificates secure the exchange. Organizations may use self-signed certificates or, preferably, certificates from a trusted certificate authority. Public certificates are exchanged with partners before go-live.
Definitions
- Signed receipt
- Receipt carrying a digital signature.
- Synchronous receipt
- Returned in the same HTTP session as the original message.
- Asynchronous receipt
- Returned in a different session than the original message.
- MDN
- Internet messaging format for a receipt (used interchangeably with “receipt”).
- Non-repudiation of receipt (NRR)
- Legal/operational outcome when the sender can prove receipt using a signed MDN and retained evidence (message ID, MIC/hash, etc.).
- Non-repudiation of origin (NRO)
- Assurance the sender cannot credibly deny sending a transaction after the partner receives a successful MDN.
- S/MIME
- Format/protocol for signatures and encryption on MIME messages.
- CMS (Cryptographic Message Syntax)
- Encapsulation for signing, digesting, authenticating, or encrypting messages.
- SHA-1 / MD5
- Hash algorithms used with digital signatures in AS2 contexts (SHA-1 has been common; prefer modern guidance from your security team).
- MIC
- Message integrity check (digest) used with the signature.
- User agent (UA)
- Application that processes the AS2 request.
Security permutations (summary)
Twelve common combinations cover unsigned/signed, encrypted/plain, and receipt options — from “no receipt” through “encrypted, signed, signed receipt.” Your trading agreement defines which permutation you must use.
- Unencrypted, no receipt.
- Unencrypted, unsigned receipt.
- Unencrypted, signed receipt.
- Encrypted, no receipt.
- Encrypted, unsigned receipt.
- Encrypted, signed receipt.
- Signed payload, no receipt.
- Signed payload, unsigned receipt.
- Signed payload, signed receipt.
- Encrypted and signed, no receipt.
- Encrypted and signed, unsigned receipt.
- Encrypted and signed, signed receipt.
