sjkp / letsencrypt-azure

The easiest way to use lets encrypt certificates on Azure
111 stars 35 forks source link

Certificate not found message #22

Open mrdenny opened 3 years ago

mrdenny commented 3 years ago

I'm getting the following error when using the excention. The certificate shows up in the keyvault as expected.

The app service and the app service plan are in the same resource group. Any idea why it can't find the certificate and how I can solve it?

Microsoft.Rest.Azure.CloudException: Certificate EFE1...C3C2 was not found. at Microsoft.Azure.Management.AppService.Fluent.WebAppsOperations.CreateOrUpdateHostNameBindingWithHttpMessagesAsync(String resourceGroupName, String name, String hostName, HostNameBindingInner hostNameBinding, Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.AppService.Fluent.WebAppsOperationsExtensions.CreateOrUpdateHostNameBindingAsync(IWebAppsOperations operations, String resourceGroupName, String name, String hostName, HostNameBindingInner hostNameBinding, CancellationToken cancellationToken) at LetsEncrypt.Azure.Core.V2.AzureWebAppService.Install(ICertificateInstallModel model) in D:\a\1\s\src\LetsEncrypt.Azure.Core.V2\AzureWebAppService.cs:line 72 at LetsEncrypt.Azure.Core.V2.LetsencryptService.Run(AcmeDnsRequest acmeDnsRequest, Int32 renewXNumberOfDaysBeforeExpiration) in D:\a\1\s\src\LetsEncrypt.Azure.Core.V2\LetsencryptService.cs:line 48 at LetsEncrypt.Azure.FunctionV2.Helper.InstallOrRenewCertificate(ILogger log) in D:\a\1\s\examples\LetsEncrypt.Azure.FunctionV2\Helper.cs:line 54 at LetsEncrypt.Azure.FunctionV2.RequestWildcardCertificate.Run(HttpRequest req, ILogger log) in D:\a\1\s\examples\LetsEncrypt.Azure.FunctionV2\RequestWildcardCertificate.cs:line 29