RE: WCF webservice over SSL and without
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
- Date: Fri, 04 Apr 2008 05:59:14 GMT
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Jonathan,
\par
\par From your description, you're going to expose your WCF service via both SSL and non-SSL channel, correct?
\par
\par Are you going to use SSL over Http(the most common and convenient approach)? For non-SSL, I think it is quite straightforward, and what you need to do is adding a new service endponit that use https/ssl based address. If hosting in IIS is possible, I recommend you host the https/ssl one in IIS since that can make the SSL/HTTPS configuration much more convenient. Here are some reference about configuring SSL/HTTPS in IIS:
\par
\par #On IIS 6.0, how do I configure my website to use SSL?
\par http://www.petri.co.il/configure_ssl_on_your_website_with_iis.htm
\par
\par #Configuring SSL on a Web Server or Web Site (IIS 6.0)
\par http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/56bdf977-14f8-4867-9c51-34c346d48b04.mspx?mfr=true
\par
\par Sure, https/ssl can be used out of IIS based on the new http.sys component in windows and WCF can also uitlize it. However, it will require much more configuration which is complex. Here are some reference mentioned about configurating HTTPS in self-hosted context:
\par
\par #Configuring HTTP and HTTPS
\par http://msdn2.microsoft.com/en-us/library/ms733768.aspx
\par
\par #WCF example: Using of self-hosted service with SSL
\par http://developers.de/blogs/damir_dobric/archive/2006/08/01/897.aspx
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
\par
\par ==================================================
\par Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notifications.
\par
\par Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support
\par Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support
\par professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations
\par that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx.
\par ==================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par
\par
\par \pard\li720 --------------------
\par Reply-To: "Jonathan Kay" <jonathankay@xxxxxxxxxxxxxxxx>
\par From: "Jonathan Kay" <jonathankay@xxxxxxxxxxxxxxxx>
\par Subject: WCF webservice over SSL and without
\par Date: Thu, 3 Apr 2008 23:12:13 -0400
\par
\par
\par Hi,
\par
\par I'd like to my WCF webservice to work both on SSL and without. Unfortunately searching has
\par led to dead ends, references to changes that only work on the old previous beta versions and
\par I admit I am rather confused and frustrated.
\par
\par That being said, I'd like some direction in how exactly I'm supposed to accomplish this.
\par
\par Thanks very much,
\par JK
\par
\par
\par \pard
\par
\par }
- Follow-Ups:
- Re: WCF webservice over SSL and without
- From: Jonathan Kay
- Re: WCF webservice over SSL and without
- References:
- WCF webservice over SSL and without
- From: Jonathan Kay
- WCF webservice over SSL and without
- Prev by Date: WCF webservice over SSL and without
- Next by Date: Re: Need to View SOAP Messages Between Client and Web Service
- Previous by thread: WCF webservice over SSL and without
- Next by thread: Re: WCF webservice over SSL and without
- Index(es):
Relevant Pages
|