In the previous post I explained how to install SSL certificates in BizTalk 2013 to make a secure connection to a third party (web) service. In this article I will explain how you can configure the WCF Adapter to use these installed certificates to encrypt the message that is sent to the service.
This series contains the following posts:
- SSL Certificates in BizTalk 2013 Part 1: How To Install SSL Certificates in the Certificate store.
- SSL Certificates in BizTalk 2013 Part 2: How To Configure the BizTalk WCF Adapter to use the SSL Certificates (this post).
Creating the Send Port
First, we need a send port. You can create a new BizTalk application in the BizTalk administration console or use an excisiting one.
- Richt click on Send Ports – New – Static One-Way Send Port.
- The Send Port properties are displayed. Fill in/ select the following values:
- Name – for instance WebServiceSendPort
- Type – WCF-BasisHttp
- Send Pipeline – PassThruTransmit
- Click the Configure Button
- The transport properties screen is displayed. Fill in the Service Url, and the SOAP Action header. Click the Security tab and fill in/select the following values:
- Security mode = Transport
- Transport Client Credential Type = Certificate
- Under Client Certificate, click the browse Button. Select the installed private certificate and click Ok.
- Under Server Certificate, click the browse Button. Select the installed public certificate and click Ok.
- Click Ok, and again Ok. The Send Port is now configured.