【问题标题】:Servicefabric nodes not coming onlineServicefabric 节点未上线
【发布时间】:2018-04-15 22:51:04
【问题描述】:

我正在调试一个集群,其中节点在使用 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 vs 1 - 所以我生成的证书已过期而不是 1 年有效:( 现在检查这是问题所在。

标签: azure docker containers


【解决方案1】:

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

【讨论】:

  • 你是如何解决这个问题的?我有一个测试环境被放弃并且证书过期,所以同样的情况
猜你喜欢
  • 2018-08-20
  • 1970-01-01
  • 2016-05-21
  • 2019-06-19
  • 1970-01-01
  • 2018-06-16
  • 1970-01-01
  • 1970-01-01
  • 2021-01-06
相关资源
最近更新 更多