Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACME v2 and wildcard #935

Closed
sujithpaily opened this issue Sep 26, 2018 · 1 comment
Closed

ACME v2 and wildcard #935

sujithpaily opened this issue Sep 26, 2018 · 1 comment

Comments

@sujithpaily
Copy link

Issue description

win-acme working fine with acme-v01

I have tried baseuri https://acme-v02.api.letsencrypt.org/ and it failed

Steps to reproduce

Windows SErver 2016
[INFO] Software version 1912.0.6839.16705 (RELEASE)
[INFO] IIS version 10.0
[INFO] ACME server https://acme-v02.api.letsencrypt.org/

[INFO] Plugin IISBinding generated target [IISBinding] web2.akshara.me (SiteId 3) [ @ C:\inetpub\wwwroot]
[DBUG] Scanning IIS site bindings for hosts
[EROR] Error authorizing [IISBinding] web2.akshara.me (SiteId 3) [ @ C:\inetpub\wwwroot]
[DBUG] DependencyResolutionException: DependencyResolutionException {Message="An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Autofac.Core.Registration.ComponentRegistrationLifetimeDecorator ---> An exception was thrown while invoking the constructor 'Void .ctor(PKISharp.WACS.Services.IInputService, PKISharp.WACS.Services.IOptionsService, PKISharp.WACS.Services.ILogService, PKISharp.WACS.SettingsService, PKISharp.WACS.Services.ProxyService)' on type 'AcmeClientWrapper'. ---> Missing initial replay-nonce header (See inner exception for details.) (See inner exception for details.)", Data=[], InnerException=DependencyResolutionException {Message="An exception was thrown while invoking the constructor 'Void .ctor(PKISharp.WACS.Services.IInputService, PKISharp.WACS.Services.IOptionsService, PKISharp.WACS.Services.ILogService, PKISharp.WACS.SettingsService, PKISharp.WACS.Services.ProxyService)' on type 'AcmeClientWrapper'. ---> Missing initial replay-nonce header (See inner exception for details.)", Data=[], InnerException=AcmeException {Message="Missing initial replay-nonce header", Data=[], InnerException=null, TargetSite=Void ExtractNonce(System.Net.WebResponse), StackTrace=" at ACMESharp.AcmeClient.ExtractNonce(WebResponse resp)\r\n at ACMESharp.AcmeClient.RequestHttpGet(Uri uri)\r\n at ACMESharp.AcmeClient.Init()\r\n at PKISharp.WACS.Clients.AcmeClientWrapper.ConfigureAcmeClient()\r\n at PKISharp.WACS.Clients.AcmeClientWrapper..ctor(IInputService inputService, IOptionsService optionsService, ILogService log, SettingsService settings, ProxyService proxy)\r\n at lambda_method(Closure , Object[] )\r\n at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()", HelpLink=null, Source="ACMESharp", HResult=-2146233088}, TargetSite=System.Object Instantiate(), StackTrace=" at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()\r\n at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters)", HelpLink=null, Source="Autofac", HResult=-2146233088}, TargetSite=System.Object Activate(System.Collections.Generic.IEnumerable1[Autofac.Core.Parameter]), StackTrace=" at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters)\r\n at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters)\r\n at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters)\r\n at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance)\r\n at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable1 parameters)\r\n at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable1 parameters)\r\n at PKISharp.WACS.Program.Authorize(ILifetimeScope renewalScope, Target target)", HelpLink=null, Source="Autofac", HResult=-2146233088}
[EROR] DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Autofac.Core.Registration.ComponentRegistrationLifetimeDecorator ---> An exception was thrown while invoking the constructor 'Void .ctor(PKISharp.WACS.Services.IInputService, PKISharp.WACS.Services.IOptionsService, PKISharp.WACS.Services.ILogService, PKISharp.WACS.SettingsService, PKISharp.WACS.Services.ProxyService)' on type 'AcmeClientWrapper'. ---> Missing initial replay-nonce header (See inner exception for details.) (See inner exception for details.)
[EROR] Create certificate failed
For bug reports, please reproduce the bug with the --verbose parameter and copy the relevant part of the log file.

@WouterTinus
Copy link
Member

We are tracking ACMEv2 support in #464

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants