WCF service not working when accessed over HTTPS and HTTP

后端 未结 2 604
感情败类
感情败类 2020-12-18 21:36

I\'ve installed a SSL certificate in IIS.

Now when I navigate to my domain https://www.example.com/ the page loads correctlty. But when I try to approach a web servi

2条回答
  •  甜味超标
    2020-12-18 21:46

    These kind of web services can be super sensitive to whether you're using HTTP or HTTPS to access them.

    Try using this to enable SSL for WCF services in the web.config:

    
        
            
                
                    
    

    I just had a similar problem, see my answer to this question for more info: Moved my ASP.NET website to IIS 8 on windows server 2012... services missing: .svc files are viewable, but their methods give a 404

提交回复
热议问题