mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
Import SERVER_ROOT in client
This commit is contained in:
parent
817396a372
commit
46799a963a
1 changed files with 1 additions and 6 deletions
|
|
@ -14,6 +14,7 @@ from trustify.protocol.chocolate_pb2 import chocolatemessage
|
|||
from trustify.client import sni_challenge
|
||||
from trustify.client import configurator
|
||||
from trustify.client.CONFIG import difficulty, cert_file, chain_file
|
||||
from trustify.client.CONFIG import SERVER_ROOT
|
||||
|
||||
# it's weird to point to chocolate servers via raw IPv6 addresses, and such
|
||||
# addresses can be %SCARY in some contexts, so out of paranoia let's disable
|
||||
|
|
@ -203,12 +204,6 @@ def save_key_csr(key, csr):
|
|||
csr_f = open(csr_fn, 'w')
|
||||
csr_f.write(csr)
|
||||
csr_f.close()
|
||||
if curses:
|
||||
shower.add("Generating key:", key_fn)
|
||||
shower.add("Creating CSR:", csr_fn)
|
||||
else:
|
||||
print "Generating key:", key_fn
|
||||
print "Creating CSR:", csr_fn
|
||||
|
||||
return key_fn, csr_fn
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue