WCF Distributed development Common error (D): This could being due to the fact that the server certificate being not configured properly with HTTP. SYS
When using transport security mode, wshttpbingding, the client authentication type is windows:clientcredentialtype= "Windows".
A certificate was installed and a client service reference was added. Starts the service host, and the client also adds an account. The result is a mistake.
The information is as follows:
An error occurred while making the HTTP request to Https://localhost:9001/WCFService. This could was due to the fact of that the server certificate are not configured with HTTP. SYS in the HTTPS case. This could also is caused by a mismatch to the security binding between the client and the server.
This may be because the server certificate does not match the HTTP.sys setting in the HTTPS box. It can also be caused by inconsistent binding between the client and the server.
Issue to WCF Chinese-English forum, a WCF English forum moderator Richard, gave a hint. A connection of his own. I looked at it. A little harvest.
WCF Chinese Forum question address: http://social.microsoft.com/Forums/zh-CN/wcfzhchs/thread/5ca6ee28-76cb-4395-82ea-21160cd4ebb0
WCF English Forum question address: http://social.microsoft.com/Forums/en-US/wcf/thread/c39ce206-a86b-4faf-a427-8d4e4684758c
"1" error message screenshot:
"2" Problem Reason:
The cause of this problem may be:
(1) The certificate is not set, transport security mode, you need to establish SSL Secure Sockets Layer or TLS Transport Layer Security protocol. The server will provide a certificate.
(2) The WCF endpoint address does not have a certificate set up, where SSL needs to be set to a certificate for the node address in.
"3" Solution:
(1) Make the certificate: here Direct use MakeCert tool. Microsoft Visual Studio 2008-->visual Studio tools-->visual Studio 2008 Command Prompt Line input:
Makecert-r-pe-n "Cn=frankwcfserver"-ss My-sky Exchange
You can look at the article WSE3.0 Build Web Services Security (2): Asymmetric encryption, public key, key, certificate, signature differences and contacts, and X.509 certificate acquisition and management, detailed introduction. Specific parameter Description: detailed Help documentation: