WCFクライアントとサーバーの対話を試みているときにこのエラーが表示されます。WCFエラー:「X.509証明書CN = localhostチェーンビルディングに失敗しました...」
The X.509 certificate CN=localhost chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust.
SSL証明書をオフにするとすべてが正常に動作します。
偉大な、それは今完全に動作します。あなたは正しいです、私は自己署名証明書を使用していました。このエラーを解決するもう1つの重要な方法は、Microsoftサービス構成エディタを使用してapp.configの "NegotiateServiceCredential"を "false"に切り替えることでした。 – Contango
私の無知 - クライアントやサーバー側に行こうとしている行ですか?そして、app.configのどの部分に? –
@ShaulセクションはserviceBehaviors/behaviour/serviceCredentials/clientCertificateです。これをServerのapp.configに追加する必要があります –