NetTCP:Transport:WindowsClientCredentialTypeを使用して実行されているセルフホストのWCFサービスがあります
// Set Binding Security.
netTcpBinding.Security.Mode = SecurityMode.Transport;
netTcpBinding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Windows;
netTcpBinding.Security.Transport.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
これらのサービスを独自のドメイン外のドメインに公開する必要がありますが、自己ホスティングを継続し、IISを使用しないようにします。したがって、私は私たちをCertificateのClientCredentialTypeに切り替えようとしています。
// Set Binding Security.
netTcpBinding.Security.Mode = SecurityMode.Transport;
netTcpBinding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Certificate;
netTcpBinding.Security.Transport.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
私は以前(ずっと前に)開発環境をセットアップしました。そこでは、MakeCertを使用して、WCFを使用した開発目的で「ダミー」証明書を生成しました。しかし、それ以来、Verisignから証明書を購入しました。私は今何が起こる必要があるかについて少し曖昧です。この証明書を使用してクライアントへのサービスを検証していることがわかりますが、.NETクライアントを証明書で検証するにはどうすればよいですか?同じ証明書を使用しますか?クライアントのインストール中にこの証明書をインストールする必要がありますか?ここで車軸を少し包み込み、誰かが手伝ってくれるかどうかを説明することができます。