Servicefabric节点未联机

时间:2018-04-15 22:51:04

标签: azure docker containers

我正在调试一个集群,在使用ARM模板部署之后节点没有联机。我认为这个问题与证书有关。

我有以下可能有助于弄清问题是什么的事件:

SecurityUtil::GetX509SvrCredThumbprint(LocalMachine, My, FindByThumbprint:6a187334b4ba95589cd5ee733b9ca1c3499eab5f) failed: FABRIC_E_INVALID_CREDENTIALS
Unable to acquire ssl credentials: FABRIC_E_INVALID_CREDENTIALS
failed to set security settings to { provider=SSL protection=EncryptAndSign certType = 'cluster' store='LocalMachine/My' findValue='FindByThumbprint:6a187334b4ba95589cd5ee733b9ca1c3499eab5f' remoteCertThumbprints='6a187334b4ba95589cd5ee733b9ca1c3499eab5f' certChainFlags=40000000 isClientRoleInEffect=false claimBasedClientAuthEnabled=false }: FABRIC_E_INVALID_CREDENTIALS
Failed to set security on transport: FABRIC_E_INVALID_CREDENTIALS
federation open failed with FABRIC_E_INVALID_CREDENTIALS
Fabric Node open failed with error code = FABRIC_E_INVALID_CREDENTIALS
HostedService: _nt1vm_0 on node id 72e0ec579b75d9847ba5a43d6b365d7c terminated unexpectedly with code 7167 and process name Fabric.exe

指纹与模板部署中使用的预期证书相匹配。

证书是在c#中创建的,并存储在var certBase64 = Convert.ToBase64String(x509Certificate.Export(X509ContentType.Pkcs12));和contenttype = application/x-pkcs12

的机密中

1 个答案:

答案 0 :(得分:0)

我使用过期的证书导致了这种情况。 :(