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
I have been successfully using V1.9.6.2 and began having an issue setting up new sites, so I upgraded to V1.9.8.2. I attempted to run the same commands that previously worked fine and it throws an exception saying there is an invalid --webroot parameter. Here is the output with debug logging enabled:
[DBUG] Renewal period: 55
[INFO] Running in Unattended mode
[DBUG] Scanning IIS sites
[INFO] Plugin IISSites generated target [IISSites] 6,7 (SiteId -1) [5 bindings
my.domain.com, ... @ x]
[EROR] Directory C:\utilities\letsencrypt-win-simple\x does not exist
[EROR] Invalid validation input
System.ArgumentException: Invalid --webroot x: Enter a site path (the web root o
f the host for http authentication)
at LetsEncrypt.ACME.Simple.Plugins.ValidationPlugins.BaseHttpValidationFactor
y`1.Default(Target target, IOptionsService optionsService)
at LetsEncrypt.ACME.Simple.Plugins.ValidationPlugins.Http.FileSystemFactory.D
efault(Target target, IOptionsService optionsService)
at LetsEncrypt.ACME.Simple.Program.CreateNewCertificate(RunLevel runLevel)
I'm running this on Windows Server 2008 R2, IIS 7.5. The --webroot parameter can't be passed because this is a command to create a multi-site SAN certificate and there are multiple webroots involved. The program should be pulling the relevant webroot from IIS for each siteid provided. I tried passing different combinations of siteids and even tried it with only 1 siteid, but all attempts result in the same error.
I was able to get things working again by downgrading to 1.9.7.2 - the last release prior to the major architecture changes. In that vesion, the SAN cert is created, installed, and all IIS bindings are created. Obviously this isn't the ideal solution but it will keep me up and running until this is resolved..
The text was updated successfully, but these errors were encountered:
I have been successfully using V1.9.6.2 and began having an issue setting up new sites, so I upgraded to V1.9.8.2. I attempted to run the same commands that previously worked fine and it throws an exception saying there is an invalid --webroot parameter. Here is the output with debug logging enabled:
C:\utilities\letsencrypt-win-simple>letsencrypt.exe --plugin iissites --siteid 6
,7
[DBUG] Options: Options {BaseUri="https://acme-v01.api.letsencrypt.org/", Test=
True, Verbose=True, Renew=False, ForceRenewal=False, Plugin="iissites", SiteId="
6,7", ExcludeBindings=null, HideHttps=False, ManualHost=null, ManualTargetIsIIS=
False, Validation=null, ValidationMode="http-01", WebRoot=null, ValidationSiteId
=null, Warmup=False, UserName=null, Password=null, AzureTenantId=null, AzureClie
ntId=null, AzureSecret=null, AzureSubscriptionId=null, AzureResourceGroupName=nu
ll, DnsCreateScript=null, DnsDeleteScript=null, KeepExisting=False, CentralSslSt
ore=null, CertificateStore=null, Installation=[], InstallationSiteId=null, SSLPo
rt=443, Script=null, ScriptParameters=null, CloseOnFinish=False, NoTaskScheduler
=False, UseDefaultTaskUser=False, Cancel=False, AcceptTos=False, EmailAddress=nu
ll}
[DBUG] Test parameter set: https://acme-staging.api.letsencrypt.org/
[DBUG] Config folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-staging.a
pi.letsencrypt.org
[INFO] Let's Encrypt Windows Simple (LEWS)
[INFO] Software version 198.2.6594.21512 (RELEASE)
[INFO] IIS version 7.5
[INFO] ACME Server https://acme-staging.api.letsencrypt.org/
[INFO] Please report issues at https://github.com/Lone-Coder/letsencrypt-win-si
mple
[DBUG] Renewal period: 55
[INFO] Running in Unattended mode
[DBUG] Scanning IIS sites
[INFO] Plugin IISSites generated target [IISSites] 6,7 (SiteId -1) [5 bindings
my.domain.com, ... @ x]
[EROR] Directory C:\utilities\letsencrypt-win-simple\x does not exist
[EROR] Invalid validation input
System.ArgumentException: Invalid --webroot x: Enter a site path (the web root o
f the host for http authentication)
at LetsEncrypt.ACME.Simple.Plugins.ValidationPlugins.BaseHttpValidationFactor
y`1.Default(Target target, IOptionsService optionsService)
at LetsEncrypt.ACME.Simple.Plugins.ValidationPlugins.Http.FileSystemFactory.D
efault(Target target, IOptionsService optionsService)
at LetsEncrypt.ACME.Simple.Program.CreateNewCertificate(RunLevel runLevel)
I'm running this on Windows Server 2008 R2, IIS 7.5. The --webroot parameter can't be passed because this is a command to create a multi-site SAN certificate and there are multiple webroots involved. The program should be pulling the relevant webroot from IIS for each siteid provided. I tried passing different combinations of siteids and even tried it with only 1 siteid, but all attempts result in the same error.
I was able to get things working again by downgrading to 1.9.7.2 - the last release prior to the major architecture changes. In that vesion, the SAN cert is created, installed, and all IIS bindings are created. Obviously this isn't the ideal solution but it will keep me up and running until this is resolved..
The text was updated successfully, but these errors were encountered: