Search code examples
azureazure-service-fabricpfx

how to upload a certificate in VM of azure cluster


This line is creating problem as it requires the Cert to be present in the machine in which it is currently executing..

topologyConfigurationManager = new TopologyConfigurationManager(new Uri("https://int2.metrics.nsatc.net"), GenevaCertThumbprint, StoreLocation.LocalMachine, TimeSpan.FromMinutes(1));

I have gone through this link deploying-application-certificates-to-the-cluster

but still i am not able to get how to upload certificate in VM(nodes) of azure cluster.Can some one give me detailed step of where to upload the cert(.pfx file).


Solution

  • Finally Got the answer:: Login to the Node of Remote cluster using following command in cmd:mstsc /v:mycluster.eastus.cloudapp.azure.com:3389

    Where "mycluster.eastus.cloudapp.azure.com" is cluster name.After logging in Install certifcates Manually.

    3389-is first node 3390-second node and so on.