Search code examples
azureazure-service-fabricazure-authentication

Cannot add Admin Client key to Service Fabric cluster


I am trying to add an Admin Client authentication key to my Service Fabric cluster created using the portal. enter image description here

I keep getting this error (Failed to submit updates to 'admin client certificate' for cluster)- Failed to submit updates for certificate

The background - I cannot access the Service Fabric explorer after creating a cluster. I am guessing that this is because I don't have an admin client authentication set up yet.

How can I fix this error?


Solution

  • From my experience with Azure Service Fabric Cluster you need to have the certificate added to add client certificate. But if you set it up right should connect to it without setting new creds.

    Steps below.

    While setting up the cluster if its for testing you can use a self-signed certificate from Key Vault, the process can create one for you.

    enter image description here

    At the summary page of the Cluster setup you will get a link to obtain certificate as you will need that to access Fabric Cluster.

    enter image description here

    Make sure you download and install certificate (pfx) to computer's store. No password is needed.

    enter image description here

    Once the Service Fabric cluster is fully deployed click on the 'Explorer' button or the link to open portal. Make sure you are on IE or Edge because Chrome or Firefox will not like the self-signed certificate

    enter image description here

    The browser should trigger an authentication, please select the certificate we installed previous. If that is not showing as default use the more option to find it. If it's not on the list it means that certificate was not install.

    enter image description here

    That should authenticate you and give you access to the Service Fabric Cluster.

    enter image description here

    Hope this information was helpful.