JSCAPE
  • Products
    • Managed File Transfer
    • JSCAPE SaaS
    • MFT Gateway
    • MFT Monitor
    • All Products
  • Solutions
    • All Solutions
    • Secure File Transfer
    • AS2 Server Software
    • File Synchronization
    • Reverse Proxy
    • Compliance
    • DMZ Streaming
  • Pricing
  • Company
    • Blog
    • Company
    • Contact Us
    • Clients
    • Case Studies
    • Testimonials
    • Certifications
  • Support
    • Help Desk
    • Documentation
    • Customer Downloads
Get a demo

An easier way of exchanging AS2 trading partner credentials

Words by

John Carl Villanueva

AS2 is no doubt the best option for carrying out B2B exchanges of EDI documents. However, compared to general purpose file transfer protocols like FTP/S or SFTP, it’s known to be considerably more difficult to set up. And one of the hardest parts is in setting up the connection (basically, between two trading partners) itself.…

Published in:

Blog

/

AS2, Business Process Automation, JSCAPE MFT, Managed File Transfer, Tutorials

AS2 is no doubt the best option for carrying out B2B exchanges of EDI documents. However, compared to general purpose file transfer protocols like FTP/S or SFTP, it’s known to be considerably more difficult to set up. And one of the hardest parts is in setting up the connection (basically, between two trading partners) itself. This method we’re about to share with you should greatly simplify things in that regard.

When two trading partners set up a connection, they need to get a number of things right. One is the exact URL of the other party’s AS2 service. Note that AS2 can run on either HTTP or HTTPS, so they need to know which one it is. They also need to know the IP address or hostname, the port number, and even the folder or subfolders that constitute the URL.

Watch the video

Would you prefer to watch a video version of this tutorial instead? You can play the video below. Otherwise, just skip it if you wish to continue reading.

as2 trading partner URL

Another is whether the trading partner’s AS2 service requires authentication, in which case, they’ll then need the required username and password. If the AS2 service doesn’t need authentication, then they’ll have to be certain of that as well.

as2 trading partner username and password

They also need to know what values should be assigned to the AS2-From and AS2-To headers.

as2 trading partner to and from field

That’s not all. They also need to get a hold of all relevant cryptographic keys. If the trading partner is using HTTPS for their AS2 service, then they need to obtain the SSL/TLS keys.

as2 ssl trading partner-1

And even if their trading partner is just using HTTP — they’ll likely still need to obtain the keys needed for encryption and digital signatures. For security reasons, these keys need to be sent out-of-band, like, via email, so that too adds a layer of complexity.

as2 trading partner encryption and signature keys

If any of these settings and keys are not right, the AS2 connection will fail. That’s why it’s crucial for the trading partner to provide all the necessary details or credentials in order for the other party to set things up correctly at their end.

In JSCAPE MFT Server, sharing of AS2 credentials to a trading partner is easy. All you need is a trading partner object for that particular trading partner, a valid email address associated with that trading partner, and some basic settings for that trading partner object.

trading partner email address

Once you have that, you just need to go to the Trading Partners module, select the trading partner with whom you would like to share your credentials with, and click the Email Specification button.

trading partner as2 email specification

This should then bring up a customizable email addressed to the email address associated with this trading partner, along with any pertinent information and cryptographic keys needed by this trading partner to connect with your AS2 service.

So, in this example, when this trading partner receives this email, they can simply copy and paste all relevant information and import all relevant keys or digital certificates into their AS2 solution.

trading partner as2 email specification email message-1

Note, however, that this feature will only work if you have already properly set up your own AS2 service as well as your email service. We already published tutorials for those, so I suggest you read them first.

How to Setup an AS2 Server with JSCAPE – A Quick Start Guide

Tips for Setting Up an AS2 Encryption

AS2 Message Tutorial on Applying Digital Signatures

Applying Digital Signatures on AS2 MDNs (Message Disposition Notifications)

More AS2-related tutorials and articles here.

That’s it. Now you know an easier way of exchanging AS2 trading partner credentials using JSCAPE MFT Server.

Would you like to try this out yourself? Download the FREE, fully-functional Starter Edition of JSCAPE MFT Server now.

Easy To Deploy, Easy To Administer, Easy To Manage

Ready to see how JSCAPE makes managed file transfer so much simpler? Schedule your demo now.

Request a demo

Popular Articles

View more by

JSCAPE
  •  
    1–2 minutes
    23/09/2025

    JSCAPE by Redwood, version 2025.3: New UI continues to make a splash

    Dive back into JSCAPE by Redwood with version 2025.3, bringing more modern UI updates to make using and navigating JSCAPE more intuitive. 

    Read article

  •  
    1–2 minutes
    19/08/2025

    Weathering the economic storm: Expert support is your enterprise file transfer system’s lifeline

    The global economic landscape can be described by one word: “uncertain”. Lingering effects from the 2020 pandemic, combined with new waves of international tariffs throughout 2025, have…

    Read article

  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    23/07/2025

    Avoid downtime and threat actors: Getting the best of both worlds in MFT

    For enterprise organizations relying on managed file transfer (MFT) solutions, cybersecurity often feels like an arms race. The need to patch MFT software vulnerabilities to prevent breaches…

    Read article

Related Content

Read more about

JSCAPE MFT
  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    03/07/2025

    Consolidate, deploy and thrive: JSCAPE’s formula for MFT success in uncertain times

    Global enterprises today are navigating a landscape marked by significant economic volatility. Fluctuating markets, shifting trade policies and persistent economic uncertainty are compelling enterprise organizations to reevaluate…

    Read article

  •  
    1–2 minutes
    31/03/2025

    SFTP vs. FTPS: Which file transfer software is best for business use?

    What is SFTP? SFTP is a file transfer protocol that’s normally packaged with Secure Shell (SSH), the network protocol most IT administrators use to access and manage…

    Read article

  •  
    1–2 minutes
    25/03/2025

    EDI integration with trading partners: 6 best practices

    Many large companies with high-volume transactions, especially those involved in e-commerce, manufacturing and retail supply chains, have long migrated from manual processes to Electronic Data Interchange (EDI).…

    Read article

Company

  • About Us
  • Contact Us
  • Clients
  • Case Studies
  • Testimonials
  • Privacy Policy
  • Certifications

Resources

  • Managed File Transfer
  • Secure File Transfer
  • Secure FTP Server
  • AS2 Server
  • Reverse Proxy
  • File Upload Processing
  • What Is An AS2 Server?

Support

  • Help Desk
  • Documentation
  • Customer Downloads
JSCAPE

Copyright © 2025 JSCAPE

  • Privacy Policy
  • Cookie Settings