# Problem transmitting AS2 message

**URL:** <https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [March 28, 2013, 6:53am UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482 "2013-03-28T06:53:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![wm1204](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wm1204](https://techcommunity.softwareag.com/u/wm1204)\
**Post date:** [March 28, 2013, 6:53am UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/1 "2013-03-28T06:53:02Z")

</div>

I am sending a flat file via AS2 to a partner using HTTPS protocol.

The log on the partner side has the following:

AS2: INBOUND Request received  
ERR15024:Invalid client side certificate specified

In TN, I have setup our private key and our certificates in our enterprise profile. I have setup the partner’s certificates in the partner’s profile.

In the activity log on my TN, I have the error

Reason for failure - Delivery service for 58i9gq0v7mn8jcv400000119 failed with a status of fail and status message of 400 Bad Request

Please advise. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 28, 2013, 6:57pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/2 "2013-03-28T18:57:29Z")

</div>

Did you configure the certs chain in all the Security Tabs on the profile sender/receiver?

ERR15024:Invalid client side certificate specified

The error above indicates the certs/chain are not matching while hand shaking and it could be your side or TP side…So you need to work with your TP and make sure you both are using the matching certs and serial numbers.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![wm1204](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wm1204](https://techcommunity.softwareag.com/u/wm1204)\
**Post date:** [March 29, 2013, 3:19am UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/3 "2013-03-29T03:19:22Z")

</div>

> [@rmg;88848](#):
>
> Did you configure the certs chain in all the Security Tabs on the profile sender/receiver?
> 
> ERR15024:Invalid client side certificate specified
> 
> The error above indicates the certs/chain are not matching while hand shaking and it could be your side or TP side…So you need to work with your TP and make sure you both are using the matching certs and serial numbers.
> 
> HTH,  
> RMG

Thank you RMG. I have configured the certificate chains and private key in both the sign/verify and encrypt/decrypt tabs of my enterprise profile.

The customer is using the right public certificate that I have provided. Is there a way I can know the serial number of my private key? Should a private key and the corresponding public certificate have the same serial number?

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 29, 2013, 7:00pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/4 "2013-03-29T19:00:40Z")

</div>

I am not quite sure on your private key question…

But can you try to attempt with text/plain and see how the test goes?

---

<div class="post-metadata">

**Author:** ![wm1204](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wm1204](https://techcommunity.softwareag.com/u/wm1204)\
**Post date:** [March 29, 2013, 9:48pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/5 "2013-03-29T21:48:29Z")

</div>

I have attempted to send with type:plain but I still have the same error. I have also set the extended field S/MIME type as plain, just to be sure.

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 29, 2013, 10:15pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/6 "2013-03-29T22:15:13Z")

</div>

So some thing is not right with certs receiving end…I never saw that 400 status with AS2.

Part of troubleshooting exercise have you tried bump up the logging with Trace for HTTP listener, Security/SSL codes and see if it can give more info in the server logs?

Lastly open a ticket with SAG support.

---

<div class="post-metadata">

**Author:** ![wm1204](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wm1204](https://techcommunity.softwareag.com/u/wm1204)\
**Post date:** [March 29, 2013, 10:43pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/7 "2013-03-29T22:43:26Z")

</div>

I have set the server logging level to 8 for all facilities. I only see an http 400 status code in the logs. Could there be an issue with the way the public certificate is on the receiving end?

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 29, 2013, 11:02pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/8 "2013-03-29T23:02:42Z")

</div>

Are you on IS version 65? Yes that could be:

Have you also tried restarting IS?

---

<div class="post-metadata">

**Author:** ![wm1204](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wm1204](https://techcommunity.softwareag.com/u/wm1204)\
**Post date:** [March 29, 2013, 11:03pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/9 "2013-03-29T23:03:57Z")

</div>

That is correct, I am using 6.5

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 29, 2013, 11:07pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/10 "2013-03-29T23:07:16Z")

</div>

Thought so…logging module much improvements in 712/8.x versions.

Can you also test tuning this Extended setting?..I am sure it’s nothing to do with the error you are getting.

watt.security.ssl.client.ignoreEmptyAuthoritiesList

---

<div class="post-metadata">

**Author:** ![wm1204](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wm1204](https://techcommunity.softwareag.com/u/wm1204)\
**Post date:** [March 29, 2013, 11:16pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/11 "2013-03-29T23:16:46Z")

</div>

Is there a way I can determine if this a problem on my side or the client’s side?

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 29, 2013, 11:19pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/12 "2013-03-29T23:19:13Z")

</div>

Not really. But you can try reconfigure certs in TN and engage TP folks also if they can do the same along with monitor server and network communication logs for SSL.

BTW,Is it the only/first TP you have them on AS2?

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![wm1204](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wm1204](https://techcommunity.softwareag.com/u/wm1204)\
**Post date:** [April 4, 2013, 8:56am UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/13 "2013-04-04T08:56:39Z")

</div>

We solved this issue, finally! It was a problem on the client’s server, it had something to do with the way their AS2 server was setup for HTTPS.

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [April 4, 2013, 6:41pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/14 "2013-04-04T18:41:39Z")

</div>

Expected…Glad to hear its resolved now:

---

<div class="post-metadata">

**Author:** ![shanthi\_challa](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@shanthi\_challa](https://techcommunity.softwareag.com/u/shanthi_challa)\
**Post date:** [October 17, 2013, 2:14am UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/15 "2013-10-17T02:14:21Z")

</div>

While sending the flat file via AS2, what is the content type you have specified?

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [October 17, 2013, 3:17pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/16 "2013-10-17T15:17:00Z")

</div>

Are you trying to respond a old thread or having you having a question?

---

<div class="post-metadata">

**Author:** ![shanthi\_challa](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@shanthi\_challa](https://techcommunity.softwareag.com/u/shanthi_challa)\
**Post date:** [October 17, 2013, 4:45pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/17 "2013-10-17T16:45:07Z")

</div>

Hi RMG,

Since it was a discussion about flat files via AS2, I posed a question here. What would be the content-type you specify for seding flat files via AS2?

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [October 17, 2013, 7:22pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/18 "2013-10-17T19:22:10Z")

</div>

There is not content type directly mentioned for FF via AS2 on EDIINT module user guide.

But you can try with text/plain or application/x-wmflatfile

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![shanthi\_challa](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@shanthi\_challa](https://techcommunity.softwareag.com/u/shanthi_challa)\
**Post date:** [October 17, 2013, 7:31pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/19 "2013-10-17T19:31:27Z")

</div>

I saw that there was no mention of it in the user guide.Thanks for the reply.

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [October 17, 2013, 8:18pm UTC](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482/20 "2013-10-17T20:18:02Z")

</div>

Yep…just try with the above.

[Next page](https://techcommunity.softwareag.com/t/problem-transmitting-as2-message/110482.md?page=2)
