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

"--plugin manual" [EROR] Option --script not provided #721

Closed
hanschou opened this issue Jan 29, 2018 · 2 comments
Closed

"--plugin manual" [EROR] Option --script not provided #721

hanschou opened this issue Jan 29, 2018 · 2 comments

Comments

@hanschou
Copy link

Issue description

When running the example:

letsencrypt.exe --plugin manual --manualhost www.domain.com --webroot C:\sites\wwwroot

there is an error:

[EROR] Option --script not provided

Work around: Create an empty dummy script and run the command:

letsencrypt.exe --plugin manual --script foo.cmd --manualhost www.domain.com --webroot C:\sites\wwwroot

Full output:

[INFO] Let's Encrypt Windows Simple (LEWS)
[INFO] Software version 198.2.6594.21512 (RELEASE)
[INFO] IIS not detected
[INFO] ACME Server https://acme-v01.api.letsencrypt.org/
[INFO] Please report issues at https://github.com/Lone-Coder/letsencrypt-win-simple

[INFO] Running in Unattended mode
[INFO] Plugin Manual generated target [Manual] [1 binding - www.domain.com]
[EROR] Option --script not provided
[EROR] Invalid installation input
System.Exception: Option --script not provided
at LetsEncrypt.ACME.Simple.Services.OptionsService.TryGetRequiredOption(String optionName, String providedValue)
at LetsEncrypt.ACME.Simple.Plugins.InstallationPlugins.ScriptInstallerFactory.Default(ScheduledRenewal renewal, IOptionsService optionsService)
at LetsEncrypt.ACME.Simple.Program.CreateNewCertificate(RunLevel runLevel)

Thanx for a great tool! It works perfect with Tomcat 8 on Windows.

@WouterTinus
Copy link
Member

Another workaround is to add --installation none.

I will update the heuristics of unattended mode in a future release though, the assumption in 1.9.7 and below was that manual target means script installer, which was harmless until the script installer started validating that its input made sense.

@WouterTinus
Copy link
Member

1.9.8.3 should not give you this error anymore, thanks for reporting the bug!

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