Falha na construção da cadeia X.509 ao conectar ao AppFabric
Escrevendo um aplicativo de teste para minha biblioteca baseada em AppFabric, comecei a receber uma exceção estranh
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.
Eu tentei com a próxima configuração sem sucesso
<behaviors>
<endpointBehaviors>
<behavior name="SecureMessageUserName">
<clientCredentials>
<serviceCertificate>
<authentication revocationMode="NoCheck"/>
</serviceCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
e também comServicePointManager.CheckCertificateRevocationList
definido comofalse
sem sucesso.