Closed statler closed 5 years ago
Actually, it seems like it has some different issue - if I set the property explicitly, I still get the following - seems no clientSecret recognised. Same as if I delete the poperty entirely. I am pretty sure the value is right - I use letsencrypt:cpDataCore-clientSecret or letsencrypt:clientSecret - anything I should check?
[06/12/2019 07:32:26 > 7bd804: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Parsed shared parameters: WebAppEnvironment: TenantId: dennisgascoignegmail.onmicrosoft.com, SubscriptionId: xxxxxxx-a1a0-4ba1-997e-8e2e7xxxxx, ResourceGroup: , ClientId: xxxxxxx-e5ea-46b5-a1cc-d40exxxxx, Email: xx@xxx.com, ServicePlanResourceGroup: , AzureDnsEnvironment: TenantId: , SubscriptionId: , ResourceGroup: , ClientId: , AzureDnsZoneName: , AzureDnsRelativeRecordSetName: , UseIpBasedSsl: , RsaKeyLength: , AcmeBaseUri: , WebRootPath: , RenewXNumberOfDaysBeforeExpiration: , AuthenticationUri: , AzureTokenAudience: , AzureManagementEndpoint: , AzureDefaultWebsiteDomainName: [06/12/2019 07:32:26 > 7bd804: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Parsing SSL renewal parameters for web app 'cpDataCore'... [06/12/2019 07:32:26 > 7bd804: INFO] AzureLetsEncryptRenewer.exe Error: 0 : Unexpected exception: System.Configuration.ConfigurationErrorsException: Missing connection string 'letsencrypt:cpDataCore-clientSecret'
Per the docs, clientSecret
should be a connection string, not regular config value.
For anyone who is a bit special like me and didn't actually realise what this means, there are two sections in the configuration screen for the app. At the top is the normal settings (where I had everything configured) and down the bottom is another section called connection strings.
I just had to move the clientSecret from the top section down into the bottom section - not up the top.
In the documentation, it suggests that a shared config may be used by omitting the site info
Is this the case? I get the following error, but I have definitely set letsencrypt:clientSecret, so my understanding is that I shouldn't have to set letsencrypt:cpDataCore-clientSecret. Is this right?