AS2 Sender/Receiver

AS2 Sender
AS2 Receiver

This application sends AS2 messages with proper SMIME/PKCS#7 signing and encryption using node-forge.

Fill in the form below and click "Send CFAS2 Message" to test sending an AS2 message to your partner.

Important: This implementation signs the message first (with detached signature) and then encrypts it, following the standard AS2 message flow. The EDI message is sent in plain text (not compressed) to ensure readability.

Sending AS2 message...

Step 1: Creating EDI message
Step 2: Signing message with PKCS#7 (detached)
Step 3: Creating multipart/signed message
Step 4: Encrypting signed message
Step 5: Sending AS2 message to server

Message Details

Message ID:
AS2 From:
AS2 To:
Status:

This application also receives AS2 messages, decrypts and verifies them, and sends back MDN responses.

The AS2 receiver endpoint is available at: /receive

AS2 Receiver Information:
AS2 ID: as2space
Endpoint: /receive
Supported features: Encryption, Signing, MDN

Test Instructions

To test sending a message to this AS2 receiver:

  1. Configure your AS2 sender to use the following settings:
    • AS2-To: as2space
    • AS2-From: [Your AS2 ID]
    • URL: https://app.as2.space/receive
  2. Send a test message
  3. You should receive an MDN response confirming receipt