开发者

Change binding from http to wsHttp - and now i can't connect to the server

this is my first WCF project. I define end point protocol of http - and i just change it to wshttp. I trying to connect to the server from the client ( that was connected to same server when it was http ) and i get message

"The service certificate is not pr开发者_开发技巧ovide. Specify a service certificate in ServiceCredintials ... "

I dont know how to solve this problem

Thanks for any help.


wsHttpbinding is secure by default and uses tranport\message security(don't remember exactly which one). Hence you are seeing this error. The server component (assuming IIS) needs to have a certificate installed and SSL enabled. Google around to find how to enable wshttpbinding on an endpoint.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜