Reputation: 78
I try to rollover the cluster-certificate of a service fabric cluster. So I tried to inject a new self-signed secondary certificate with this command:
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": []
}
Upvotes: 1
Views: 952
Reputation: 78
When using the ARM deployment, the same error message appears.
At the moment (Nov 2017), modifying the cluster certificate thumbprints is not possible. Working workflow:
That's the only workflow we found to provide a new certificate to the cluster.
Upvotes: 2