English 中文(简体)
Create key pair for BizTalk AS2 connection
原标题:

I need to create an AS2 connection in BizTalk Server 2006 R2 to communicate with a business partner. I ve worked with BizTalk AS2 config before and the BizTalk docs have pretty good walkthroughs about how to configure everything, but they don t talk about how to get/generate a certificate, and I don t have much experience there.

What is the best way to generate a key pair? My basic understanding of the process is that you generate the public and private keys (.pfx file?), install them, export the public key certificate (.cer?) and send it to the partner. The certificate won t be used for HTTPS, only for the AS2 connection, and the partner has stated that it can be self signed (doesn t need a trusted CA?). We trade public key certificates directly with the partner in a secure fashion in the form of .cer files. Is MakeCert an appropriate tool here?

I believe we need to use the same key for both encryption and signing, so according to the docs, the Key Usage attribute of the certificate must include Digital Signature and either Data Encipherment or Key Encipherment.

Thanks!

最佳回答

You can certainly use MakeCert generated self sign keys for AS2 security and signing. Depending on the flavour of AS2 being implemented (there are 12 all up) you do not need to do both encryption and signing but the standard usage of AS2 is signed and encrypted communication with or without MDNs and for that you would generally use a single certificate.

As you say, there is a wealth of information on AS2 in the BizTalk docs and in the SDK. I thought it worth pointing out this MSDN page http://msdn.microsoft.com/en-us/library/bb728096(BTS.20).aspx, however, since it covers the installation of the certs in great detail. The configuration is quite particular, if you don t get the right certs in the right stores under the right users and in the right parts of BizTalk (assigned to parties, groups and send ports) then you can run into trouble. I ve found it pays to follow the docs exactly in this part of configuration.

One important thing to remember is that your AS2 receive runs under the BizTalk IsolatedHost so the certs for receiving need to be in that store.

I ve also found it interesting and helpful (thought not necessary) to read the AS2 RFC.

问题回答

暂无回答




相关问题
BizTalk server problem

we have a biztalk server (a virtual one (1!)...) at our company, and an sql server where the data is being kept. Now we have a lot of data traffic. I m talking about hundred of thousands. So I m ...

Create key pair for BizTalk AS2 connection

I need to create an AS2 connection in BizTalk Server 2006 R2 to communicate with a business partner. I ve worked with BizTalk AS2 config before and the BizTalk docs have pretty good walkthroughs about ...

BizTalk mapper and the [ThreadStatic] attribute

I ve recently encountered an issue with the multi-threaded nature of the BizTalk Mapper and how it handles external assemblies. As this quote from MSDN indicates: Important Any code written in an ...

女士们:

我正在分析一项BizTalk(ka orchestration)申请,该申请正在由MSMQ与一个WCF服务机构进行沟通。 我不禁要问,为什么世界气候基金的一个服务执行项目有一个小参数。

热门标签