Answered by:
SSL and HTTP send port

Question
-
Hi All
I need to post data using https via HTTP send Adapter. I've a cerificate provided by the vendor.
I installed the certificate in personal store of biztalk service account. i've given the SSL Client Certificate thumbprint value on the Authentication tab of HTTP transport properties.Still am not able to establish the connection to the host site.
I couldn't understand the difference between SSL Client Certificate thumbprint value on the Authentication tab of HTTP transport properties and Certifcate option available on the send port properties.
i would like to know which option should be choosen? what is the use of both options.
Thanks in advance.
- Changed type Balu n Wednesday, April 27, 2011 6:09 AM
Wednesday, April 27, 2011 6:08 AM
Answers
-
Hi Balu,
I think you are missing some steps please see this post to know how to do it in BizTalk:
http://www.codeproject.com/KB/security/HTTPBizTalk2009Win2008R2.aspx
Mark As Answer or Vote As Helpful if My Reply Does, Regards, -Rohit- Marked as answer by Balu n Wednesday, April 27, 2011 2:41 PM
Wednesday, April 27, 2011 6:23 AMModerator -
Hi,
It is important that certificate is installed under the user account, which BizTalk host instance is running under. I assume you have done so, and you can verify that by running runas /user [BTServiceAccount] mmc(through this mmc you need to install certificates!) and look in personal store and trusted root certificate authorities. Local machine you need to store in trusted root authorities, personel and other people (you have done so). For reference see this thread.
HTH
Regards,
Steef-Jan Wiggers
MVP & MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalk- Marked as answer by Balu n Wednesday, April 27, 2011 2:41 PM
Wednesday, April 27, 2011 11:04 AMModerator
All replies
-
Hi Balu,
I think you are missing some steps please see this post to know how to do it in BizTalk:
http://www.codeproject.com/KB/security/HTTPBizTalk2009Win2008R2.aspx
Mark As Answer or Vote As Helpful if My Reply Does, Regards, -Rohit- Marked as answer by Balu n Wednesday, April 27, 2011 2:41 PM
Wednesday, April 27, 2011 6:23 AMModerator -
Hi,
Certificate option available on the send properties is intended for encryption or signing of documents, while HTTP Adapter transport properties is intended for SSL. For SSL you need to use thumbprint value in HTTP Adapter transport properties. What kind of issues are you experiencing? What is being logged in the eventlog?
HTH
Regards,
Steef-Jan Wiggers
MVP & MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalkWednesday, April 27, 2011 6:25 AMModerator -
Hi Steef
am getting the following error
Could not establish trust relationship for the SSL/TLS secure channel with authority
Regards
Balu
Wednesday, April 27, 2011 6:37 AM -
Hi Balu,
Have you added the root certificate from the vendor to the list of Trusted Root Certification Authorities? Usually this resolves the error your are getting.
HTH
Regards,
Steef-Jan Wiggers
MVP & MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalkWednesday, April 27, 2011 6:46 AMModerator -
Hi steef,
I got one pfx file from vendor. i installed that certificate .
i dont know about root certificate. will it be the same or different?
Regards
Balu
Wednesday, April 27, 2011 9:00 AM -
Hi,
Did you double click on this file or did you import it through mmc. If you click on certificate personal store, does provide information if it is trusted or not? A .PFX/.P12 is a Public-Key Cryptography Standards #12 (PKCS #12) format file that include personal certificates with private keys as well as certificates that install into the intermediate and root certificate stores.
HTH
Regards,
Steef-Jan Wiggers
MVP & MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalkWednesday, April 27, 2011 9:52 AMModerator -
I've imported the pfx to the following location
- BizTalk host user (Current User)
- Personal
- Trusted Root Certificate Authorities
- Local Machine user
- Personal
- Trusted Root Certificate Authorities
- Other People
But now am getting "The client certificate is not found in the certificate store".
Wednesday, April 27, 2011 10:50 AM - BizTalk host user (Current User)
-
Hi,
It is important that certificate is installed under the user account, which BizTalk host instance is running under. I assume you have done so, and you can verify that by running runas /user [BTServiceAccount] mmc(through this mmc you need to install certificates!) and look in personal store and trusted root certificate authorities. Local machine you need to store in trusted root authorities, personel and other people (you have done so). For reference see this thread.
HTH
Regards,
Steef-Jan Wiggers
MVP & MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalk- Marked as answer by Balu n Wednesday, April 27, 2011 2:41 PM
Wednesday, April 27, 2011 11:04 AMModerator -
Hi
I've done this time using run as runas /user [BTServiceAccount] mmc
it is installed properly in personal store
but when am trying to import the pfx to Trusted Root Certificate Authorities am getting error
---------------------------
Certificate Import Wizard
---------------------------
The import failed because the operation was cancelled.
---------------------------
OK
---------------------------and the root path is installed in
- BizTalk host user (Current User)
- Trusted Root Certificate Authorities
- Local Machine user
- Trusted Root Certificate Authorities
Now am getting client certificate not found.
Do i need to do anything else like updating registry,host file as mentioned in
http://www.codeproject.com/KB/security/HTTPBizTalk2009Win2008R2.aspx?
Wednesday, April 27, 2011 12:30 PM - BizTalk host user (Current User)
-
Am giving the thumb print value by removing all spaces . is this the right way to set the value in ssl client certificate thumb print?Wednesday, April 27, 2011 12:48 PM
-
Hi,
In certificate you will find the thumbprint and you can copy that, you do not have to remove the spaces!
HTH
Regards,
Steef-Jan Wiggers
MVP & MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalkWednesday, April 27, 2011 4:25 PMModerator -
Thank you steef
runas /user [BTServiceAccount] mmc(through this mmc you need to install certificates is worked for meWednesday, April 27, 2011 5:36 PM -
HI Steef,
i had received intermediate,Root and public certificates from my customer. i had installed the same in the corresponding folders in certificates. when i started testing with customer i am facing error called "The request was aborted: Could not create SSL/TLS secure channel." can you please let me know what may be the reasons behind it and my customer is using Webmethods and i am using Dynamic Send port through HTTPS.
Please let me know if you require more details from my end.
Regards, Bala.
Monday, August 19, 2013 1:38 AM -
HI Steef,
i had received intermediate,Root and public certificates from my customer. i had installed the same in the corresponding folders in certificates. when i started testing with customer i am facing error called "The request was aborted: Could not create SSL/TLS secure channel." can you please let me know what may be the reasons behind it and my customer is using Webmethods and i am using Dynamic Send port through HTTPS.
Please let me know if you require more details from my end.
Regards, Bala.
Saturday, February 6, 2016 9:15 AM -
Hi,
Another option is to into the transport of the wire using WireShark. Inspecting the communication helped me on another occasion to resolve an issue.
Kind Regards,
Steef-Jan Wiggers (Microsoft Azure MVP)
BizTalk
- Proposed as answer by Steef-Jan WiggersMVP, Moderator Friday, February 12, 2016 8:27 AM
Saturday, February 6, 2016 3:52 PMModerator -
Hi Steef,
Greatly appreciated for your timely advice to use WireShark. Thank you very much :-)
As per WireShark, we find out the handshake issue due to wrong client cert.
Sunday, February 7, 2016 11:43 AM