mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:15:42 +02:00
use global version of server variable
This commit is contained in:
@@ -157,6 +157,7 @@ def authenticate():
|
||||
Main call to do DV_SNI validation and deploy the trustify certificate
|
||||
TODO: This should be turned into a class...
|
||||
"""
|
||||
global server
|
||||
assert server or "CHOCOLATESERVER" in os.environ, "Must specify server via command line or CHOCOLATESERVER environment variable."
|
||||
if "CHOCOLATESERVER" in os.environ:
|
||||
server = os.environ["CHOCOLATESERVER"]
|
||||
|
||||
Reference in New Issue
Block a user