RE: WCF webservice over SSL and without



{\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 }

Relevant Pages

  • Re: WCF webservice over SSL and without
    ... Based on your further description, you have setup the SSL correctly in IIS server, but encountered some problem visit the WCF service's metadata page, correct? ... \par> Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.webservices)
  • Could not establish secure channel for SSL/TLS with authority
    ... The application makes webservice calls over SSL using WCF. ... I have examined the client certificate and this is ok. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: WCF 3.5 and Problem with KnownTypeAttribute
    ... classes actually send in WCF service method. ... is not the correct means of using "KnownTypeAttribute". ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: SoapException - NullReferenceException
    ... As for webservice over SSL, there does exists some common issue such as the ... client certificate supplyment(if you've configured it to require client ... Microsoft MSDN Online Support Lead ... I have a web service running on an SSL connection and unfortunately I ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: SSL vs Windows Integrated Security
    ... Actually my understanding is that SSL and integrated auth work on different ... Microsoft Online Community Support ... initial response from the community or a Microsoft Support Engineer within ...
    (microsoft.public.inetserver.iis.security)