EDI Communication

AS2

AS2 (Applicability Statement 2) is a specification about how to transport data securely and reliably over the Internet. Security is achieved by using digital certificates and encryption.

AS2 Technical Overview

The AS2 protocol is based on HTTP and S/MIME. It was the second AS protocol developed and uses the same signing, encryption and MDN (as defined by RFC3798) conventions used in the original AS1 protocol introduced in the late 90s by IETF [1]. In other words:
Files are encoded as "attachments" in a standardized S/MIME message (an AS2 message).
AS2 messages are always sent using the HTTP or HTTPS protocol (Secure Sockets Layer also known as SSL is implied by HTTPS) and usually use the "POST" method (use of "GET" is rare).
Messages can be signed, but do not have to be.
Messages can be encrypted, but do not have to be.
Messages may request a Message Disposition Notification [MDN] back if all went well, but do not have to request such a message.
If the original AS2 message requested an MDN: Upon the receipt of the message and its successful decryption or signature validation (as necessary) a "success" MDN will be sent back to the original sender. This MDN is typically signed but never encrypted (unless temporarily encrypted in transit via HTTPS). Upon the receipt and successful verification of the signature on the MDN, the original sender will "know" that the recipient got their message (this provides the "Non-repudiation" element of AS2)

If there are any problems receiving or interpreting the original AS2 message, a "failed" MDN may be sent back. However, part of the AS2 protocol states that the client must treat a lack of an MDN as a failure as well, so some AS2 receivers will simply not return an MDN in this case.


Like any other AS file transfer, AS2 file transfers typically require both sides of the exchange to trade SSL certificates and specific "trading partner" names before any transfers can take place. AS2 trading partner names can usually be any valid phrase.

Unlike AS1 or AS3 file transfers, AS2 file transfers offer several "MDN return" options instead of the traditional options of "yes" or "no". Specifically, the choices are:


Source: wikipedia.org




© Jobisez LLC - Contact Us  About Us  Privacy Statement  Sitemap  Jobisez Blog