Closed Bluhman closed 4 years ago
issue still occurs after walking through and running this script: https://docs.microsoft.com/en-us/azure/service-fabric/scripts/service-fabric-powershell-add-application-certificate AFAIK my VMSS (the one thing I think I was missing in this problem) now has awareness of the Client Certificate I'm trying to use, but it's still not allowing my application to build out to the cluster.
Updating OP to reflect the new reproduction step!
oh ok apparently running this step, which is distinct from the step to 'add a certificate to a vmss', is also required.
When supplying a completely valid certificate thumbprint for my endpoint on azure, I get this error when trying to deploy an API stateless service to my cluster: "There was an error during activation.Failed to configure endpoint with certificate ---certificateIWantToUseThumbPrintHere---. Error 0x80070520."
Expected Behavior
it should work
Current Behavior
it not work
Steps to Reproduce
Context (Environment)
Trying to make it so that the user doesn't have to let through an 'insecure' certificate whenever they want to call our API, causing issues with usability for a UI that's leveraging the API in the cluster because it's not being treated as secure.
Here's the app manifest I'm using for the culprit app on the cluster. The parameters are supplied as variables in the pipeline:
Security section of the manifest for my whole cluster:
There's documentation on how to modify these values above, but it does it through ARM templates I don't have access to because the cluster component doesn't have an option to export an ARM template.
Service Fabric Runtime and SDK Version :
7.0.470.9590
Operating System :
win 10
Cluster Size :
Dev, 5 nodes.
Possible Workaround