The HTTP request was forbidden with client authentication scheme 'Anonymous'. The remote server returned an error: (403) Forbidden

前端 未结 5 1435
囚心锁ツ
囚心锁ツ 2020-12-31 09:45

I am trying to create a secure webservice.

Here is the contract and service implementation

[ServiceContract()]
public interface ICalculatorService
{         


        
5条回答
  •  佛祖请我去吃肉
    2020-12-31 10:02

    Another reason for this is the certificate itself on the server you are hitting. Ensure you have imported the PRIVATE KEY. In MMC this will show up with a "Friendly Name". This took me days to figure out. Once I imported the private key the Anonymous error went away and all was well!

提交回复
热议问题