Technical Reference

AS2 (RFC 4130)

MIME-based messaging over HTTP/HTTPS with S/MIME security and MDN receipts.

AS2 is the most widely required protocol in retail, logistics, and EDI trading relationships. It packages business data as a MIME message, signs and/or encrypts it with S/MIME, and transports it directly over HTTP or HTTPS โ€” no separate messaging infrastructure required. Delivery is confirmed with a Message Disposition Notification (MDN), AS2's receipt mechanism, sent either synchronously (in the same HTTP response) or asynchronously (to a separate URL).

If a trading partner's onboarding packet asks for an "AS2 ID," a certificate to encrypt to, and an MDN URL, they're asking you to speak AS2.

How Archr.Hermod configures it

A partnership record captures the partner's AS2 identifier, their public certificate, the signing/encryption algorithms to use, and whether MDNs are synchronous or asynchronous. Archr.Hermod builds the MIME envelope, applies S/MIME signing and encryption, computes and verifies the Message Integrity Check (MIC) on both signing and receipt, and tracks outstanding MDNs so a missing receipt is visible, not silent.

Step by step, from the agreement with your partner to following a message: the AS2 guide.

โ† Back to the technical reference