---
title: "AS-2"
canonical: "https://knowledge-hub.onetrail.com/space/docs/718700615/AS-2"
format: markdown
---
## Trading Partner Network AS-2 Communication

AS-2 communication is supported by Onetrail to send and receive EDI messages. The EDI message is sent as body text.

The specifications of the AS-2 communication are displayed below with the hyperlinks to download the security certificates.

### **Overview Setup AS-2 Connection**

|  |  |  |
| --- | --- | --- |
| **AS-2 Parameters** | **Acceptance** | **Production** |
| URL | [https://acc-as2.onetrail.net/](https://acc-as2.onetrail.net/)> Macro (inline-external-image) | [https://as2.onetrail.net/](https://as2.onetrail.net/)> Macro (inline-external-image) |
| IP address range from where traffic might originate (where different to URL above) | <span style="color: #172b4d">185.170.5.50</span><br>Outgoing IP: <span style="color: #172b4d">185.170.5.100</span> | 185.170.7.152<br>Outgoing IP: 185.170.7.140 |
| AS2 ID | 8714253023809AS2 | 8714253023809 |
| Certificate type | Amazon RSA 2048 M01 | Thawte until 5 October 2026, then Amazon RSA 2048 M01 |
| MDN type preferred + signature algorithm | Signed Async MDN's(SHA1) | Signed Async MDN's(SHA1) |
| Data compression | Yes | Yes |
| Encryption + algorithm | No | No |
| SSL, Encryption & Signing Certificate | [Onetrail_TPN_certificates](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718700551) | [Onetrail_TPN_certificates](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718700551) |
| Remarks | We don’t support HTTP without S<br>This is a business network and basic security like SSL/TLS is a must for reliable and secure business-exchange! | Test AS-2 communication<br>AS-2 messages are sent using POST requests. Testing AS-2 connections with your browser is not recommended, as our gateway refuses GET requests. Please consider using tools like Postman to test AS-2 connections. |