R
Rick
I am developing a WCF based app on Vista using IIS 7.0 but it will be
deployed on Microsoft Server 2003 with IIS 6.0. The app uses WSHttpBinding
and mutual Certificate authentication. The app works fine in the Vista IIS7.0
environment, but when moving it to the test environment that matches
production, I cannot get certificate authentication to work. I get the
following error: "The certificate that was used has a trust chain that cannot
be verified. Replace the certificate or change the
certificateValidationMode."
The strange this is that I have the certifcateValidationMode set to PeerTrust.
<serviceCredentials>
<clientCertificate>
<authentication certificateValidationMode="PeerTrust"
trustedStoreLocation="LocalMachine" />
</clientCertificate>
<serviceCertificate findValue="AdcBehindTheFirewall"
storeLocation="LocalMachine" storeName="My"
x509FindType="FindBySubjectName" />
</serviceCredentials>
I also tried changing certificateValidationMode="None" and still got the
same error.
Any ideas on what may be wrong in the Server 2003 environment?
deployed on Microsoft Server 2003 with IIS 6.0. The app uses WSHttpBinding
and mutual Certificate authentication. The app works fine in the Vista IIS7.0
environment, but when moving it to the test environment that matches
production, I cannot get certificate authentication to work. I get the
following error: "The certificate that was used has a trust chain that cannot
be verified. Replace the certificate or change the
certificateValidationMode."
The strange this is that I have the certifcateValidationMode set to PeerTrust.
<serviceCredentials>
<clientCertificate>
<authentication certificateValidationMode="PeerTrust"
trustedStoreLocation="LocalMachine" />
</clientCertificate>
<serviceCertificate findValue="AdcBehindTheFirewall"
storeLocation="LocalMachine" storeName="My"
x509FindType="FindBySubjectName" />
</serviceCredentials>
I also tried changing certificateValidationMode="None" and still got the
same error.
Any ideas on what may be wrong in the Server 2003 environment?