Having written a test application for my AppFabric-based library, I started getting a weird exception.
The X.509 certificate CN=servicebus.appfabriclabs.com chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. The revocation function was unable to check revocation because the revocation server was offline.
I tried the following configuration without success
<behaviors> <endpointBehaviors> <behavior name="SecureMessageUserName"> <clientCredentials> <serviceCertificate> <authentication revocationMode="NoCheck"/> </serviceCertificate> </clientCredentials> </behavior> </endpointBehaviors> </behaviors>
as well as ServicePointManager.CheckCertificateRevocationList set without false .
Matej source share