Error when trying to receive an encrypted AS/2 message

Hello all,
I'm currently working on an AS/2 implementation (my first BizTalk project) and I'm facing an issue with certificates. I've checked numerous websites, blogs, MSDN and until now, I don't get it working.
Here's the scenario:
From a specific partner, I need to receive an AS/2 encrypted message.
Here's how I test this:
- I have my local computer and a server which both run BizTalk 2013.
- I have generated 1 certificate (DES3 2048 bits) by using OpenSSL.
The certificates are installed as follows:
Sending machine: Local Computer\Other People (My CER file).
Sending machine: Local Computer\Trusted Root Certification Authorities (My CER file) - To make the certificate trusted.
Receiving machine: Current User\Personal Store (My PFX file) - NOTE: Current user is the user under which the In-Process host instance of BizTalk is running.
Receiving machine: Current User\Personal Store (My PFX file) - to make the certificate trusted.  - NOTE: Current user is the user under which the In-Process host instance of BizTalk is running.
In IIS, the application pool running the BTSHttpReceive.dll is running under the ApplicationPoolIdentity.
And finally, here's the BizTalk configuration:
(Sending parter):
- Send port -> Certificate: Receiving parner certificate (CER).
- Pary agreement (Sending partner -> Receing partner) -> Validation: "Message should be encrypted is selected" and the encryption algorithm is set to DES3.
(Receiving partner):
- Host (BizTalkServerApplication) -> Certificates: My certificate (PFX).
- Party agreement (Sendingp partner -> Receing partner) -> Validation: "Message should be encrypted is selected" and encryption algorithm is set to DES3.
When I try to send a message from the sending computer to the receiving computer (just a text file with one line) the receiving computer generates two errors in BizTalk Event Viewer:
Error message 1:
The AS2 Decoder encountered an exception during processing.  Details of the message and exception are as follows:  AS2-From:"AS2-xxx" AS2-To:"AS2-xxx" MessageID:"<xxx_EE47EC3F-A253-48E3-90FB-45849E793E06>" MessageType:
"unknown" Exception:"An error occurred when decrypting an AS2 message."
Error message 2:
A message received by adapter "HTTP" on receive location "xxx" with URI "/BTSHttpReceive.dll" is suspended. 
 Error details: An output message of the component "Microsoft.BizTalk.EdiInt.PipelineComponents" in receive pipeline "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Receive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" is suspended due to the following error: 
     An error occurred when decrypting an AS2 message..
 The sequence number of the suspended message is 2.  
 MessageId:  {BFE72958-E968-4FF6-B7DA-EB31340D81F6}
 InstanceID: {B2B08761-4403-44AE-A788-D487F94CC270}
Here's what I have checked already:
Serial numbers or the certificate as I've seen that this might cause an issue:
Sending computer certificate serial number: ‎00 8a 42 09 ee af c2 29 b1
Receiving computer certificate serial number: ‎00 8a 42 09 ee af c2 29 b1
I hope someone can point me in the right direction because I'm searching for days on this issue.
Kind regards,

Thanks for your response but I must say that I've managed to find the issue. It seems that the decrypting certificate should be registeren as the  BizTalk Isolated Host process user account.
Anyway, that solved my issue.
Glad that you've solved your problem by yourself, thanks for sharing your solution. :)

Similar Messages

  • I keep getting an error when trying to receive the new update iOS7 on iPhone5.  Any suggestions?

    I keep getting an error when trying to receive the new update iOS7 on iPhone5.  Any suggestions?

    Do the update using iTunes on your computer.
    Plug your iPhone into iTunes (current version), let it sync, then click "Check for Updates" on the iPhone's summary page in iTunes.

  • No such message error when trying to receive email.

    I am having a problem receiving email on my home computer, and this problem is something which has just suddenly appeared. I am running Windows 7, Time Warner Cable is my provider and when I hit 'Get Messages', I get the following error message:
    "The RETR command did not succeed. Error retrieving a message. Mail server pop-server.rochester.rr.com responded: no such message."
    My wife has her own email account through the same provider and is having no problems retrieving her own mail. Thank you in advance.

    Check your POP or IMAP settings. Your e-mail provider should supply you with the correct settings. or
    Delete the affected account(s) and then re-add the account(s). or
    Back-up your files; then Uninstall and Reinstall Thunderbird May be an incorrect path.

  • HELP....why do I keep getting "Not Delivered" errors when trying to send a Group MMS text message?

    I am trying to send a Group MMS text. There are 6 recipients. I hit "send" and the progress bar goes almost to the very end, and then hangs up....and eventually I get a "Not Delivered" error message. I click on the "i" icon and it says "your message was not sent. Tap try again to send this message." I've done that time and time again, and the same thing happens. What am I doing wrong?

    Try sending it as a regular text message... turn off iMessage.

  • Login error when trying to Export

    Hi
    I receive an error when trying to export to Word.
    The message is simple "An error occurred when signing in", not very useful.
    I have reset my password several times and have obviously been able to login here with the same account.
    OS Win XP
    Browser Firefox 19
    Reader 10
    Can anyone suggest anything else?
    TC

    We are outside our 30 days!
    YOUR PACKAGE SUDDENLY STOPPED WORKING.
    AT YOUR STAFF SUGGESTION I UPGRADED READER AND IT IS NOW TRYING TO GET ME TO UPGRADE IE TO 8.
    PRODUCT SUPPORT?
    I DON'T THINK SO!!!!!
    CUSTOMER SERVICE?
    I DON'T THINK SO!!!!!
    Thanks for nothing.

  • I keep receiving security errors when trying to open a pdf.

    I keep receiving a security error when trying to run my javascript program, the function previously worked, but now creates an error after I entered the addWaterMark function. I have put my whole code below for my script.
    The basic function is to load a text file into an array which has the path and file location, open the document, add a watermark, save the file, close the file, then repeat for the next array position.
    I am using Acrobat Standard so I am unable to debug using the console, therefore I am struggling to understand what I am doing wrong. I will point out that I am not a fluent programmer, only have a basic knowledge of programming.
    Code
    app.addSubMenu(
      cName:"Extras",
      cParent:"Edit"
    app.addMenuItem(
      cName:"Import File",
      cParent:"Extras",
      cExec:"main()"
    function main()
      var fileCount = 0
      var listOfFiles = []
      listOfFiles = importData()
      amountOfFiles = listOfFiles.length
      for (var i =0; i<listOfFiles.length; i++)   //calculates amount of entries in the array listOfFiles
      newFile = openFile(listOfFiles[i]) //Opens current file
      var d = app.activeDocs; //Gets current document title name 
      addWater(d[0]);
      app.execMenuItem("Save");
      for( var x in d ) d[x].closeDoc();
    function addWater(myName)
    { app.alert("watermark",0);
      myName.addWatermarkFromText(
      cText: "OBSOLETE",
      cFont: "Arial",
      nFontSize:36,
      aColor: color.red,
      nOpacity: 0.5
    //function SaveFile saves the current file but with an addition of WM to the filename
    saveFile = app.trustedFunction(function(currentDoc, currentFileName)
      { app.alert("savefile",0);
      app.beginPriv();
      currentDoc.saveAs(currentFileName);
      app.endPriv();
    //function openFile which opens the file named in the variable currentFilename
    openFile = app.trustedFunction(function(currentFileName)
      {app.alert("openfile" + currentFileName,0);
      app.beginPriv();
      app.openDoc(currentFileName);
      app.endPriv();
    //importData function imports the paths and filenames contained in the list.txt located on the desktop
    importData = app.trustedFunction(function()
      {app.alert("import",0);
      app.beginPriv();
      cFilePath = "/C/Users/103019944/Desktop/File_List.txt";
      var stmData = util.readFileIntoStream(cFilePath);
      var cData = util.stringFromStream(stmData);
      var cMsg = cData;
      var fileArray = cMsg.split("\r\n");
      for (var i =0; i<fileArray.length; i++)
      return(fileArray);
      app.endPriv();

    I have found the error, you are quite correct I had an extra letter in the filename, I thought I'd checked this but just shows that sattention to detail is the key.
    The script works perfectly now, thanks you for your help, really appreciated.
    Thanks again
    Ben

  • Error message when trying to receive messages

    hi
    i am unable to send or receive messages.
    when trying to send an email i get this message: 'An error occurred sending mail: The mail server sent an incorrect greeting: Cannot connect to SMTP server 213.8.196.24 (213.8.196.24:25), NB connect error 1460.'
    when trying to receive messages i get this message: 'An error occurred with the POP3 mail server. Mail server mail.print-city.co.il responded: '
    the problem has just started, i didnt change anything from what was before. internet connection looks ok.
    i am attaching the error messages and my account settings.

    I finally solved my problem by deleting both accounts and then adding them back via tools - account settings - account actions. It was actually pretty simple... all I had to know was email addresses and passwords. Trying to correct the account settings didn't work for me or for the ATT tech I contacted.

  • I am receiving an A12E5 error when trying to install my Creative Cloud desktop

    I am receiving an A12E5 error when trying to install my Creative Cloud desktop. So I cannot proceed to a free trial. Thoughts?

    Hi UniversityDesigner,
    Welcome to the Community!
    Please go through this thread: http://forums.adobe.com/message/5581753#5581753
    Thanks!
    Ankit

  • Receiving an error when trying to remove P00 Security role from the user

    Hi All,
    I am receiving an error when trying to remove P00 Security role from the user.
    After logging on to GRC CUP, clicking on u201CCreate requestu201D, and filling out required information,
    I click on Select Roles/Groups
    On the next screen,
    I click on Existing Roles/Groups
    ERROR MESSAGE appears X Action failed and no roles appear in the box to select for removal.
    Regards,
    Vineet

    Hi Vineet,
    My be your selection is incorrect
    Try this
    in Applicaiton Area -- Select ALL
    Functional Area  -
    Select ALL
    Company           -
    Select ALL
    Role/Profile/Group Names --- Give p00* and execute the report
    if you give only p00 it wont give any result
    Hope this helps
    Thank you,
    Kishore

  • I received an error when trying to open itunes

    I received an error when trying to open itunes.  It said itunes stopped working, so I tried to uninstall and re-install.  It let me install it, but when I tried to open it, it gave me the same error message.  How can I get itunes back on my laptop (windows).

    Perhaps is post what the error is someone might be able to offer assistance.
    Also, have you had a look here  >  http://www.apple.com/support/itunes/troubleshooting/

  • I receive an error when trying to convert PDF to word.  Pls help, I have a paid acct.

    I receive an error when trying to convert PDF to word.  Can someone advise on how to resolve?

    "an error" really doesn't tell us much.
    Assuming that you use the ExportPDF online service, I suggest that you Contact Customer Care - click on the Still need help? button to chat or talk with an agent.
    [topic moved to ExportPDF forum]

  • I received an error when trying to sync my IPOD erorr 13019

    I received an error when trying to sync my IPOD erorr # 13019

    See my response to your other post.

  • Keep receiving error when trying to change device on my verizon.  Unfortunately, none of the lines on your account are eligible to receive the Online Authorization Code

    Keep receiving error when trying to change device on my verizon.  Unfortunately, none of the lines on your account are eligible to receive the Online Authorization Code. 
    Unable to change device on account.

    That would be great if they weren't 2 different size SIM cards.
    The code is a security feature and I realize this. It is to prevent someone from hacking your account and changing your devices without your knowledge. However, I am the account owner and I know exactly what is going on with my account at all times. I check data usage AT LEAST 2 times daily and I log into my account at least once daily. I would very quickly discover any issues. This feature is more of a (removed)
    Edited as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

  • I received the following Cisco Secure Desktop error when trying to

    I received the following Cisco Secure Desktop error when trying to use WebVpn.    "Access Denied Your system failed to be validated by the Cisco Secure Desktop and will not be granted access. Critical failure. Cisco Secure Desktop must run and validate your system. When I go verify Safari settings under "Weblaunch Platform detection, sun Java and Java Detection are all clicked.  I even change the DNS in safari system preferences, to no avail.
    My system is MacBook Pro 2.8 GHz Intel core i7 with 16 GB 1600 MHz DDR3.
    Thanks.

    Sorry I don't really understand.... there are no partitions on the drive.  How do I repartition it?
    And should I use "erasing free space" or "erase" for wiping clean my drive of everything?  Erase seems to be faster last tiem I tried.
    Thanks!

  • I get error message "unknown error" When trying to log on to itunes via pc, help please!

    I get error message "unknown error" When trying to log on to itunes via pc, help please!

    Hello, trolle56.
    Thank you for the question.  You may find these articles helpful in troubleshooting the error received with the iTunes Store. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

Maybe you are looking for

  • GPS data without a FIX

    Hello I couldn´t finish the Part 1 of Homework 3 because my GPS didn't react when plugged on USB with the TTL cable (the FIX led didn't blink). Even though the FIX led blinks with one second rate when the GPS is on the breadboard, using GPIO. I write

  • In the paragraph after a conditional build tag, an inline image gets wrapped in a div tag

    Hi, TCS5, so FM 12 and RH11. I have successfully applied some conditional build tags by turning off the apply conditional build tag setting and using the Conditional Build Expression in the WebHelp properties instead. In RoboHelp, everything looks co

  • BAM APIs and TPE in BizTalk

    Hi - i have been assigned work related to tracking data using BAM (its like Purchase Order, Sending/receiving Invoice, for Property related work) I know TPE is used to track only at Ports level which is not always helpful and if there is looping invo

  • Why is libNativeABI included in my .apk?

    Hi, I am having some problems publishing my app built with flex 4.5.1. For some reason the file libNativeABI.so is included in my .apk and this restrics my app to ARM 7 based units. My Desire Z sees the app on marketbut not my Galaxy Tab. Is there a

  • Syncing outlook distribution list

    iphone does not seem to sync distribution list created in microsoft outlook contact. how can I make this work?