Commit 544382b5 authored by deuce's avatar deuce
Browse files

ACMEv2 endpoint is now live. See the wiki for how to automate TLS certificates

with Synchronet.
parent 90fc064c
......@@ -146,7 +146,7 @@ var identifiers = [];
var ks;
var key_id;
var maincnf = new File(maincnf_fname);
var new_host = "acme-staging-v02.api.letsencrypt.org";
var new_host = "acme-v02.api.letsencrypt.org";
var new_domain_hash = '';
var old_domain_hash;
var old_host;
......@@ -191,7 +191,7 @@ if (settings.open("r")) {
}
}
old_domain_hash = settings.iniGetValue("State", "DomainHash", "<None>");
old_host = settings.iniGetValue("State", "Host", "acme-staging-v02.api.letsencrypt.org");
old_host = settings.iniGetValue("State", "Host", "acme-v02.api.letsencrypt.org");
new_host = settings.iniGetValue(null, "Host", new_host);
dir_path = settings.iniGetValue(null, "Directory", dir_path);
TOSAgreed = settings.iniGetValue(null, "TOSAgreed", TOSAgreed);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment