【问题标题】:Adding a client certificate to a single node service fabric cluster将客户端证书添加到单节点服务结构集群
【发布时间】:2019-11-11 23:35:39
【问题描述】:

我有一个开发集群,我想向它添加一个(只读)客户端证书。当我运行适当的 powershell 命令时:

PS> Add-AzServiceFabricClientCertificate `
       -ResourceGroupName $ClusterResourceGroupName `
       -Name $ClusterName `
       -Thumbprint $ClientCertThumbprint

我收到以下错误消息:

Add-AzServiceFabricClientCertificate : Code: SingleNodeClusterUpdateNotAllowed, Message: Single node cluster update
not allowed. Updates are allowed for clusters having node count equal or greater than 3.

这是否意味着我需要重建整个集群,还是有办法向集群添加新的客户端指纹?

请注意,我也尝试过使用 azure 门户,但我收到以下错误,我猜它的原因与上述相同:

 Failed to submit updates for certificate
 Failed to submit updates to 'read-only client certificate' for 'xxxxxx'.

【问题讨论】:

    标签: azure certificate azure-service-fabric


    【解决方案1】:

    由于您将集群创建为单节点集群,因此您将无法更新证书。您需要重建集群并选择不使用单节点集群。相反,您会选择一个也建议用于开发的 3 节点集群。

    【讨论】:

    • 这很烦人
    猜你喜欢
    • 2018-04-09
    • 2017-03-29
    • 2018-03-03
    • 2017-02-03
    • 2017-10-18
    • 2015-10-26
    • 2015-07-31
    • 2020-10-23
    • 1970-01-01
    相关资源
    最近更新 更多