【发布时间】:2018-05-11 03:34:21
【问题描述】:
我尝试翻转服务结构集群的集群证书。所以我尝试用这个命令注入一个新的自签名二级证书:
Add-AzureRmServiceFabricClusterCertificate -ResourceGroupName $configuration.ResourceGroupName -Name $clusterName -SecretIdentifier $certificateVaultUrl_Secondary
错误详情
"error": {
"code": "AddAndRemoveCertificateNotAllowed",
"message": "Certificates cannot be added and removed at the same time.",
"details": []
}
环境
- AzureRM 5.0.1
- Powershell 5.0.10586.117
- Service Fabric 6.0.232.9494
【问题讨论】:
-
作为一种解决方法,您可以尝试使用 ARM 部署:docs.microsoft.com/en-us/azure/service-fabric/…
标签: powershell azure azure-service-fabric