ohadschn / letsencrypt-webapp-renewer

[PLEASE USE FREE MS MANAGED CERTS INSTEAD] Simple WebJob-ready console application for renewing Azure Web App SSL certificates
https://www.ohadsoft.com/
Apache License 2.0
282 stars 51 forks source link

Challenge file not being created #86

Closed haacked closed 5 years ago

haacked commented 5 years ago

I'm running my target App Service from package, but I followed the instructions to set up the %HOME%/site/letsencrypt/.well-known/acme-challenge directory in my app and added virtual directories pointing to them.

Screen Shot 2019-08-18 at 10 51 48 PM

I made sure to configure the webjob app to point to %HOME%/site/letsencrypt via the letsencrypt:webAppName-webRootPath setting (yes, I replaced webAppName with my app's actual name).

With ll that, when I run the job, I can see in the log that Kudu logs that it created the file. But there's no file.

[08/19/2019 05:12:30 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : KuduClient PutFile responsecode Created responsebody: 
[08/19/2019 05:12:30 > 7d512f: INFO]  Answer should now be browsable at http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU
[08/19/2019 05:12:30 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Answer should now be browsable at http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU

I checked within Kudu to see if it's just a problem serving the file, but the file isn't there.

Screen Shot 2019-08-18 at 10 52 34 PM

I manually created the test.txt file to ensure that I was serving that directory properly. You can see that it's being served up properly. http://www.getaboard.net/.well-known/acme-challenge/test.txt

I double checked that I created the Principal correctly and gave it access to the resource group that contains both my App Service Plan and my App Service. It has the contributor role.

Any ideas on why the challenge file isn't being created?

Full logs are here:

[08/19/2019 05:12:25 > 7d512f: SYS INFO] Status changed to Initializing [08/19/2019 05:12:25 > 7d512f: SYS INFO] Run script 'AzureLetsEncryptRenewer.exe' with script host - 'WindowsScriptHost' [08/19/2019 05:12:25 > 7d512f: SYS INFO] Status changed to Running [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Web App SSL renewal job (letsencrypt) started [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Parsing Web Apps for SSL renewal from WebJob/site configuration... [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Parsed web apps for SSL renewal: getaboard [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Parsed shared parameters: WebAppEnvironment: TenantId: , SubscriptionId: , ResourceGroup: , ClientId: , Email: , ServicePlanResourceGroup: , AzureDnsEnvironment: TenantId: , SubscriptionId: , ResourceGroup: , ClientId: , AzureDnsZoneName: , AzureDnsRelativeRecordSetName: , UseIpBasedSsl: , RsaKeyLength: , AcmeBaseUri: , WebRootPath: , RenewXNumberOfDaysBeforeExpiration: , AuthenticationUri: , AzureTokenAudience: , AzureManagementEndpoint: , AzureDefaultWebsiteDomainName: [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Parsing SSL renewal parameters for web app 'getaboard'... [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Completed parsing of Web App SSL cert renewal information [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Generating SSL certificate with parameters: WebApp: getaboard, Hosts: www.getaboard.net, getaboard.net, instabase.getaboard.net, ServicePlanResourceGroup: , SiteSlotName: , GroupName: , WebAppEnvironmentParams: TenantId: haackedgmail.onmicrosoft.com, SubscriptionId: 32b760c3-e23e-4e0b-9092-422a843d2485, ResourceGroup: Aboard, ClientId: 8b1219db-3c54-481d-b954-4668bd3809f5, AzureDnsEnvironmentParams: TenantId: haackedgmail.onmicrosoft.com, SubscriptionId: 32b760c3-e23e-4e0b-9092-422a843d2485, ResourceGroup: Aboard, ClientId: 8b1219db-3c54-481d-b954-4668bd3809f5, AzureDnsZoneName: , AzureDnsRelativeRecordSetName: , UseIpBasedSsl: False, RsaKeyLength: 2048, AcmeBaseUri: , WebRootPath: %HOME%\site\letsencrypt, RenewXNumberOfDaysBeforeExpiration: -1, AuthenticationUri: , AzureTokenAudience: , AzureManagementEndpoint: , AzureDefaultWebsiteDomainName: [08/19/2019 05:12:26 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Generating secure PFX password for 'getaboard'... [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Either zoneName or relativeRecordSetName are null for getaboard, will not use Azure DNS challenge [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Adding SSL cert for 'getaboard'... [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Staring add certificate [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Add certificate for acmeConfig hostname www.getaboard.net, getaboard.net, instabase.getaboard.net [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : RequestAndInstallInternal [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Loading Signer from D:\home\siteextensions\letsencrypt\config\httpsacme-v01.api.letsencrypt.org\Signer [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : [08/19/2019 05:12:27 > 7d512f: INFO] Getting AcmeServerDirectory [08/19/2019 05:12:27 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Loading Registration from D:\home\siteextensions\letsencrypt\config\httpsacme-v01.api.letsencrypt.org\Registration [08/19/2019 05:12:28 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834800029111 - Request: POST https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard/config/publishingcredentials/list?api-version=2018-02-01, headers x-ms-client-request-id = 126e54bc-9660-4751-a742-5fb403317056,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:28 > 7d512f: INFO] [08/19/2019 05:12:28 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834800029111 - Response: POST https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard/config/publishingcredentials/list?api-version=2018-02-01, headers x-ms-client-request-id = 126e54bc-9660-4751-a742-5fb403317056,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:28 > 7d512f: INFO] {"id":"/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard/publishingcredentials/$getaboard","name":"getaboard","type":"Microsoft.Web/sites/publishingcredentials","location":"West US 2","tags":{"product":"Aboard"},"properties":{"name":null,"publishingUserName":"$getaboard","publishingPassword":"lAnHWgzcFq33Su7rypTwctkR0trkLE8DFefZuRZdvonRxxLd08e5sQsmsimP","publishingPasswordHash":null,"publishingPasswordHashSalt":null,"metadata":null,"isDeleted":false,"scmUri":"https://$getaboard:lAnHWgzcFq33Su7rypTwctkR0trkLE8DFefZuRZdvonRxxLd08e5sQsmsimP@getaboard.scm.azurewebsites.net"}} [08/19/2019 05:12:28 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834832463901 - Request: GET https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard?api-version=2018-02-01, headers x-ms-client-request-id = 0a17c464-cda5-4512-beb8-268f971370f2,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:28 > 7d512f: INFO] [08/19/2019 05:12:28 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834832463901 - Response: GET https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard?api-version=2018-02-01, headers x-ms-client-request-id = 0a17c464-cda5-4512-beb8-268f971370f2,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:28 > 7d512f: INFO] {"id":"/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard","name":"getaboard","type":"Microsoft.Web/sites","kind":"app","location":"West US 2","tags":{"product":"Aboard"},"properties":{"name":"getaboard","state":"Running","hostNames":["getaboard.net","getaboard.azurewebsites.net","*.getaboard.net"],"webSpace":"Default-Web-WestUS-WestUS2webspace","selfLink":"https://waws-prod-mwh-025.api.azurewebsites.windows.net:454/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/webspaces/Default-Web-WestUS-WestUS2webspace/sites/getaboard","repositorySiteName":"getaboard","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["getaboard.net","getaboard.azurewebsites.net","getaboard.scm.azurewebsites.net","*.getaboard.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"*.getaboard.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"getaboard.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"getaboard.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"getaboard.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/serverfarms/ASP-DefaultWebWestUS-ad64","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2019-08-19T05:12:01.1766667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"getaboard","trafficManagerHostNames":null,"sku":"Shared","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","inboundIpAddress":"13.66.231.217","possibleInboundIpAddresses":"13.66.231.217","outboundIpAddresses":"13.66.231.217,52.183.17.153,13.77.182.191,13.77.160.123,13.66.201.228","possibleOutboundIpAddresses":"13.66.231.217,52.183.17.153,13.77.182.191,13.77.160.123,13.66.201.228,13.77.145.169,13.66.249.235,52.183.26.68","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-mwh-025","cloningInfo":null,"hostingEnvironmentId":null,"tags":{"product":"Aboard"},"resourceGroup":"Aboard","defaultHostName":"getaboard.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[]}} [08/19/2019 05:12:29 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : KuduClient PutFile responsecode NoContent responsebody: [08/19/2019 05:12:29 > 7d512f: INFO] [08/19/2019 05:12:29 > 7d512f: INFO] Authorizing Identifier www.getaboard.net Using Challenge Type http-01 [08/19/2019 05:12:29 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Authorizing Identifier www.getaboard.net Using Challenge Type http-01 [08/19/2019 05:12:29 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834962821483 - Request: POST https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard/config/publishingcredentials/list?api-version=2018-02-01, headers x-ms-client-request-id = 2a1f6c84-45e5-4fcd-b0ad-47052e239278,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:29 > 7d512f: INFO] [08/19/2019 05:12:29 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834962821483 - Response: POST https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard/config/publishingcredentials/list?api-version=2018-02-01, headers x-ms-client-request-id = 2a1f6c84-45e5-4fcd-b0ad-47052e239278,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:29 > 7d512f: INFO] {"id":"/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard/publishingcredentials/$getaboard","name":"getaboard","type":"Microsoft.Web/sites/publishingcredentials","location":"West US 2","tags":{"product":"Aboard"},"properties":{"name":null,"publishingUserName":"$getaboard","publishingPassword":"lAnHWgzcFq33Su7rypTwctkR0trkLE8DFefZuRZdvonRxxLd08e5sQsmsimP","publishingPasswordHash":null,"publishingPasswordHashSalt":null,"metadata":null,"isDeleted":false,"scmUri":"https://$getaboard:lAnHWgzcFq33Su7rypTwctkR0trkLE8DFefZuRZdvonRxxLd08e5sQsmsimP@getaboard.scm.azurewebsites.net"}} [08/19/2019 05:12:29 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834990947703 - Request: GET https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard?api-version=2018-02-01, headers x-ms-client-request-id = e272ce67-a796-441d-9b61-2d07787876ac,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:29 > 7d512f: INFO] [08/19/2019 05:12:30 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : 6370178834990947703 - Response: GET https://management.azure.com/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard?api-version=2018-02-01, headers x-ms-client-request-id = e272ce67-a796-441d-9b61-2d07787876ac,accept-language = en-US,User-Agent = FxVersion/4.7.3416.0|OSName/Windows|OSVersion/6.2.9200.0|Microsoft.Azure.Management.WebSites.WebSiteManagementClient/2.1.0 [08/19/2019 05:12:30 > 7d512f: INFO] {"id":"/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/sites/getaboard","name":"getaboard","type":"Microsoft.Web/sites","kind":"app","location":"West US 2","tags":{"product":"Aboard"},"properties":{"name":"getaboard","state":"Running","hostNames":["getaboard.net","getaboard.azurewebsites.net","*.getaboard.net"],"webSpace":"Default-Web-WestUS-WestUS2webspace","selfLink":"https://waws-prod-mwh-025.api.azurewebsites.windows.net:454/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/webspaces/Default-Web-WestUS-WestUS2webspace/sites/getaboard","repositorySiteName":"getaboard","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["getaboard.net","getaboard.azurewebsites.net","getaboard.scm.azurewebsites.net","*.getaboard.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"*.getaboard.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"getaboard.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"getaboard.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"getaboard.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/32b760c3-e23e-4e0b-9092-422a843d2485/resourceGroups/Aboard/providers/Microsoft.Web/serverfarms/ASP-DefaultWebWestUS-ad64","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2019-08-19T05:12:01.1766667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"getaboard","trafficManagerHostNames":null,"sku":"Shared","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","inboundIpAddress":"13.66.231.217","possibleInboundIpAddresses":"13.66.231.217","outboundIpAddresses":"13.66.231.217,52.183.17.153,13.77.182.191,13.77.160.123,13.66.201.228","possibleOutboundIpAddresses":"13.66.231.217,52.183.17.153,13.77.182.191,13.77.160.123,13.66.201.228,13.77.145.169,13.66.249.235,52.183.26.68","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-mwh-025","cloningInfo":null,"hostingEnvironmentId":null,"tags":{"product":"Aboard"},"resourceGroup":"Aboard","defaultHostName":"getaboard.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[]}} [08/19/2019 05:12:30 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : KuduClient PutFile responsecode Created responsebody: [08/19/2019 05:12:30 > 7d512f: INFO] Answer should now be browsable at http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU [08/19/2019 05:12:30 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Answer should now be browsable at http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU [08/19/2019 05:12:31 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:31 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 9 [08/19/2019 05:12:32 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:32 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 8 [08/19/2019 05:12:33 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:33 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 7 [08/19/2019 05:12:34 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:34 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 6 [08/19/2019 05:12:35 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:35 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 5 [08/19/2019 05:12:36 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:36 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 4 [08/19/2019 05:12:37 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:37 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 3 [08/19/2019 05:12:38 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:38 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 2 [08/19/2019 05:12:39 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:39 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 1 [08/19/2019 05:12:40 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:40 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Retrying 0 [08/19/2019 05:12:41 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Checking status NotFound [08/19/2019 05:12:41 > 7d512f: INFO] Submitting answer [08/19/2019 05:12:41 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Submitting answer [08/19/2019 05:12:42 > 7d512f: INFO] Refreshing authorization attempt 1 [08/19/2019 05:12:42 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Refreshing authorization attempt 1 [08/19/2019 05:12:44 > 7d512f: INFO] Authorization Result: invalid [08/19/2019 05:12:44 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Auth Result invalid [08/19/2019 05:12:44 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Error: 0 : Authorization Failed invalid [08/19/2019 05:12:44 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Information: 0 : Full Error Details {"IdentifierPart":{"Type":"dns","Value":"www.getaboard.net"},"IdentifierType":"dns","Identifier":"www.getaboard.net","Uri":"https://acme-v01.api.letsencrypt.org/acme/authz/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4","Status":"invalid","Expires":"2019-08-26T05:12:29Z","Challenges":[{"ChallengePart":{"Type":"tls-alpn-01","Uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4/19730242354","Token":"QyCpLXcxVcTCikHwedaUIkg8i9H_D56jckX6lHGaja0","Status":"invalid","Validated":null,"Error":null},"Challenge":null,"Type":"tls-alpn-01","Uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4/19730242354","Token":"QyCpLXcxVcTCikHwedaUIkg8i9H_D56jckX6lHGaja0","Status":"invalid","OldChallengeAnswer":{"Key":null,"Value":null},"ChallengeAnswerMessage":null,"HandlerName":null,"HandlerHandleDate":null,"HandlerCleanUpDate":null,"SubmitDate":null,"SubmitResponse":null},{"ChallengePart":{"Type":"dns-01","Uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4/19730242355","Token":"jBoS8PP3UKsHdX3VOun96Cd7gPlKBUFYLUyB4SpKL00","Status":"invalid","Validated":null,"Error":null},"Challenge":null,"Type":"dns-01","Uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4/19730242355","Token":"jBoS8PP3UKsHdX3VOun96Cd7gPlKBUFYLUyB4SpKL00","Status":"invalid","OldChallengeAnswer":{"Key":null,"Value":null},"ChallengeAnswerMessage":null,"HandlerName":null,"HandlerHandleDate":null,"HandlerCleanUpDate":null,"SubmitDate":null,"SubmitResponse":null},{"ChallengePart":{"Type":"http-01","Uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4/19730242356","Token":"72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU","Status":"invalid","Validated":null,"Error":{"type":"urn:acme:error:unauthorized","detail":"Invalid response from http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU [13.66.231.217]: 404","status":"403"},"validationRecord":[{"url":"http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU","hostname":"www.getaboard.net","port":"80","addressesResolved":["13.66.231.217"],"addressUsed":"13.66.231.217"}]},"Challenge":null,"Type":"http-01","Uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4/19730242356","Token":"72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU","Status":"invalid","OldChallengeAnswer":{"Key":null,"Value":null},"ChallengeAnswerMessage":null,"HandlerName":null,"HandlerHandleDate":null,"HandlerCleanUpDate":null,"SubmitDate":null,"SubmitResponse":null}],"Combinations":[[0],[1],[2]]} [08/19/2019 05:12:44 > 7d512f: INFO] The ACME server was probably unable to reach http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU [08/19/2019 05:12:44 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Error: 0 : Unable to reach http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU [08/19/2019 05:12:44 > 7d512f: INFO] [08/19/2019 05:12:44 > 7d512f: INFO] Check in a browser to see if the answer file is being served correctly. [08/19/2019 05:12:44 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Error: 0 : Encountered exception: System.Exception: The Lets Encrypt ACME server was probably unable to reach http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU view error report from Lets Encrypt at https://acme-v01.api.letsencrypt.org/acme/authz/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4 for more information [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.AcmeService.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__16.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__17.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__12.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 75 [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34 [08/19/2019 05:12:44 > 7d512f: INFO] AzureLetsEncryptRenewer.exe Error: 0 : Unexpected exception: System.AggregateException: Encountered exception(s) during cert renewal (and/or notification) ---> System.Exception: The Lets Encrypt ACME server was probably unable to reach http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU view error report from Lets Encrypt at https://acme-v01.api.letsencrypt.org/acme/authz/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4 for more information [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.AcmeService.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__16.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__17.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__12.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 75 [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34 [08/19/2019 05:12:44 > 7d512f: INFO] --- End of inner exception stack trace --- [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 46 [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Program.WebJobMain(String webjobName) in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\Program.cs:line 55 [08/19/2019 05:12:44 > 7d512f: INFO] ---> (Inner Exception #0) System.Exception: The Lets Encrypt ACME server was probably unable to reach http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU view error report from Lets Encrypt at https://acme-v01.api.letsencrypt.org/acme/authz/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4 for more information [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.Services.AcmeService.d__5.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__16.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__17.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:44 > 7d512f: INFO] at LetsEncrypt.Azure.Core.CertificateManager.d__12.MoveNext() [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 75 [08/19/2019 05:12:44 > 7d512f: INFO] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:44 > 7d512f: INFO] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34<--- [08/19/2019 05:12:44 > 7d512f: INFO] [08/19/2019 05:12:45 > 7d512f: ERR ] [08/19/2019 05:12:45 > 7d512f: ERR ] Unhandled Exception: System.AggregateException: Encountered exception(s) during cert renewal (and/or notification) ---> System.Exception: The Lets Encrypt ACME server was probably unable to reach http://www.getaboard.net/.well-known/acme-challenge/72DbK-kAWiOUBApYApqweR5lj0kL1d-G6TocjucwNYU view error report from Lets Encrypt at https://acme-v01.api.letsencrypt.org/acme/authz/UyKylCzo2bpQOqmbJKp380ghQWuSeRqkL6iCyjjpYc4 for more information [08/19/2019 05:12:45 > 7d512f: ERR ] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [08/19/2019 05:12:45 > 7d512f: ERR ] at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext() [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:45 > 7d512f: ERR ] at LetsEncrypt.Azure.Core.Services.AcmeService.d__5.MoveNext() [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:45 > 7d512f: ERR ] at LetsEncrypt.Azure.Core.CertificateManager.d__16.MoveNext() [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:45 > 7d512f: ERR ] at LetsEncrypt.Azure.Core.CertificateManager.d__17.MoveNext() [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() [08/19/2019 05:12:45 > 7d512f: ERR ] at LetsEncrypt.Azure.Core.CertificateManager.d__12.MoveNext() [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 75 [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34 [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of inner exception stack trace --- [08/19/2019 05:12:45 > 7d512f: ERR ] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 46 [08/19/2019 05:12:45 > 7d512f: ERR ] --- End of stack trace from previous location where exception was thrown --- [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [08/19/2019 05:12:45 > 7d512f: ERR ] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Program.WebJobMain(String webjobName) in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\Program.cs:line 60 [08/19/2019 05:12:45 > 7d512f: ERR ] at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Program.Main(String[] args) in C:\projects\letsencrypt-webapp-renewer\OhadSoft.AzureLetsEncrypt.Renewal\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\Program.cs:line 35 [08/19/2019 05:12:45 > 7d512f: SYS INFO] Status changed to Failed [08/19/2019 05:12:45 > 7d512f: SYS ERR ] Job failed due to exit code -532462766
ohadschn commented 5 years ago

It looks like you set WebRootPath to %HOME%\site\letsencrypt, but I suspect no environment variable expansion is taking place so I wonder if it put the challenge file under the verbatim folder "%HOME%" (easy to check).

If the relevant issues are any indication, you should set the web root path to the expanded folder, i.e. D:\home\site\LetsEncrypt. It should be safe as the D:\home path is documented.

haacked commented 5 years ago

Thanks! That fixed that issue.