You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!Directory.Exists(AppContext.BaseDirectory + "LettuceEncrypt"))
Directory.CreateDirectory(AppContext.BaseDirectory + "LettuceEncrypt");
builder.Services.AddLettuceEncrypt();
builder.WebHost.UseKestrel(options =>
{
options.ListenAnyIP(2222, listenOptions => listenOptions.UseHttps());
});
if (Environment.GetEnvironmentVariable("REQUIR_CLIENT_CERT") == "true")
{
builder.WebHost.UseKestrel(k =>
{
var appServices = k.ApplicationServices;
k.ConfigureHttpsDefaults(h =>
{
h.ClientCertificateMode = ClientCertificateMode.RequireCertificate;
h.UseLettuceEncrypt(appServices);
});
});
}
if (Environment.GetEnvironmentVariable("CONFIG_KESTREL_VIA_CODE") == "true")
{
builder.WebHost.PreferHostingUrls(false);
builder.WebHost.UseKestrel(k =>
{
var appServices = k.ApplicationServices;
k.Listen(IPAddress.Any, 2222,
o =>
o.UseHttps(h => h.UseLettuceEncrypt(appServices)));
});
}
fail: LettuceEncrypt.Internal.AcmeCertificateFactory[0]
Failed to validate ownership of domainName 'sanyouhe.cloud'. Reason: urn:ietf:params:acme:error:connection: 27.154.111.178: Timeout during connect (likely firewall problem), Code = BadRequest
fail: LettuceEncrypt.Internal.AcmeCertificateFactory[0]
Failed to validate ownership of domainName 'www.sanyouhe.cloud'. Reason: urn:ietf:params:acme:error:connection: 27.154.111.178: Timeout during connect (likely firewall problem), Code = BadRequest
fail: LettuceEncrypt.Internal.AcmeStates.ServerStartupState[0]
Failed to automatically create a certificate for sanyouhe.cloud
System.InvalidOperationException: Failed to validate ownership of domainName 'sanyouhe.cloud'
at LettuceEncrypt.Internal.AcmeCertificateFactory.ValidateDomainOwnershipAsync(IAuthorizationContext authorizationContext, CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeCertificateFactory.CreateCertificateAsync(CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeStates.BeginCertificateCreationState.MoveNextAsync(CancellationToken cancellationToken)
fail: LettuceEncrypt.Internal.AcmeCertificateLoader[0]
ACME state machine encountered unhandled error
System.InvalidOperationException: Failed to validate ownership of domainName 'sanyouhe.cloud'
at LettuceEncrypt.Internal.AcmeCertificateFactory.ValidateDomainOwnershipAsync(IAuthorizationContext authorizationContext, CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeCertificateFactory.CreateCertificateAsync(CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeStates.BeginCertificateCreationState.MoveNextAsync(CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeCertificateLoader.ExecuteAsync(CancellationToken stoppingToken)
The text was updated successfully, but these errors were encountered:
fail: LettuceEncrypt.Internal.AcmeCertificateFactory[0]
Failed to validate ownership of domainName 'sanyouhe.cloud'. Reason: urn:ietf:params:acme:error:connection: 27.154.111.178: Timeout during connect (likely firewall problem), Code = BadRequest
fail: LettuceEncrypt.Internal.AcmeCertificateFactory[0]
Failed to validate ownership of domainName 'www.sanyouhe.cloud'. Reason: urn:ietf:params:acme:error:connection: 27.154.111.178: Timeout during connect (likely firewall problem), Code = BadRequest
fail: LettuceEncrypt.Internal.AcmeStates.ServerStartupState[0]
Failed to automatically create a certificate for sanyouhe.cloud
System.InvalidOperationException: Failed to validate ownership of domainName 'sanyouhe.cloud'
at LettuceEncrypt.Internal.AcmeCertificateFactory.ValidateDomainOwnershipAsync(IAuthorizationContext authorizationContext, CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeCertificateFactory.CreateCertificateAsync(CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeStates.BeginCertificateCreationState.MoveNextAsync(CancellationToken cancellationToken)
fail: LettuceEncrypt.Internal.AcmeCertificateLoader[0]
ACME state machine encountered unhandled error
System.InvalidOperationException: Failed to validate ownership of domainName 'sanyouhe.cloud'
at LettuceEncrypt.Internal.AcmeCertificateFactory.ValidateDomainOwnershipAsync(IAuthorizationContext authorizationContext, CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeCertificateFactory.CreateCertificateAsync(CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeStates.BeginCertificateCreationState.MoveNextAsync(CancellationToken cancellationToken)
at LettuceEncrypt.Internal.AcmeCertificateLoader.ExecuteAsync(CancellationToken stoppingToken)
The text was updated successfully, but these errors were encountered: