mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Improve text of manual plugin. (#4810)
This commit is contained in:
committed by
Brad Warren
parent
228726597b
commit
cd34c4272d
@@ -44,22 +44,14 @@ Please deploy a DNS TXT record under the name
|
|||||||
|
|
||||||
Before continuing, verify the record is deployed."""
|
Before continuing, verify the record is deployed."""
|
||||||
_HTTP_INSTRUCTIONS = """\
|
_HTTP_INSTRUCTIONS = """\
|
||||||
Make sure your web server displays the following content at
|
Create a file containing just this data:
|
||||||
{uri} before continuing:
|
|
||||||
|
|
||||||
{validation}
|
{validation}
|
||||||
|
|
||||||
If you don't have HTTP server configured, you can run the following
|
And make it available on your web server at this URL:
|
||||||
command on the target server (as root):
|
|
||||||
|
|
||||||
mkdir -p /tmp/certbot/public_html/{achall.URI_ROOT_PATH}
|
{uri}
|
||||||
cd /tmp/certbot/public_html
|
"""
|
||||||
printf "%s" {validation} > {achall.URI_ROOT_PATH}/{encoded_token}
|
|
||||||
# run only once per server:
|
|
||||||
$(command -v python2 || command -v python2.7 || command -v python2.6) -c \\
|
|
||||||
"import BaseHTTPServer, SimpleHTTPServer; \\
|
|
||||||
s = BaseHTTPServer.HTTPServer(('', {port}), SimpleHTTPServer.SimpleHTTPRequestHandler); \\
|
|
||||||
s.serve_forever()" """
|
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(Authenticator, self).__init__(*args, **kwargs)
|
super(Authenticator, self).__init__(*args, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user