Enable SSL for my WCF service

后端 未结 3 1499
北荒
北荒 2020-11-28 22:01

I have a WCF service that uses basicHttpbinding in development.

Now in product we want to use SSL, what changes do I have to make to force SSL connections only?

3条回答
  •  余生分开走
    2020-11-28 22:28

    I just faced the same problem and found this MSDN article: How to: Configure an IIS-hosted WCF service with SSL At the end of the article you will find the xml configuration of the WebConfig file.

    The solution worked just fine for me. One more thing to say, keep in mind that you need a REAL certificate for your release!

提交回复
热议问题