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

Manual validation feature for http-01 and tls-sni-01 challenges #60

Open
glkz opened this issue Dec 22, 2015 · 7 comments
Open

Manual validation feature for http-01 and tls-sni-01 challenges #60

glkz opened this issue Dec 22, 2015 · 7 comments

Comments

@glkz
Copy link
Contributor

glkz commented Dec 22, 2015

When we cannot run an ACME client on the target server a "manual" mode for the http-01 and tls-sni-01 challenges would be helpful.

Adding --manual flag to run command can be a solution imho.

Btw, Let's Encrypt client has a plugin for this.

@xenolf
Copy link
Member

xenolf commented Dec 23, 2015

I had a quick look at what the "manual" plugin does for the official client.
Am I right with the assumption that lego would need to output curl commands for example which a user could use to run them on a distant machine?

@glkz
Copy link
Contributor Author

glkz commented Dec 24, 2015

Curl commands are not necessary. I think just printing the challenge with some instructions and waiting user's action to continue would be sufficient.

For example, something like this for http-01:

$ lego --domains example.com --email admin@example.com run --manual
...
A HTTP get request to url
    http://example.com/.well-known/acme-challenge/{token}
must return the following string in the response body
    {jws string here}

Press ENTER when your server is ready. 

@fenderle
Copy link

+1

1 similar comment
@uwe
Copy link

uwe commented Jan 28, 2016

+1

@yonderblue
Copy link

yonderblue commented May 11, 2016

Is there a way to use this for an automated process of what an admin would do with it? I am interested in getting a cert that covers a group of machines, say 20 subdomains where each subdomain is only hosted from one machine in a way to avoid rate limits.

@xenolf
Copy link
Member

xenolf commented May 11, 2016

@Gaillard Why not get a SAN cert for the 20 subdomains and then distribute them across your machines?

@mholt
Copy link
Contributor

mholt commented Mar 20, 2018

Wondering if this is still necessary anymore; and even if so, if it is a good idea at all. The goal is to automate the process of managing certificates. If there a manual step is possible, then we fall short of that and people continue to rely on manual ways.

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

No branches or pull requests

6 participants