acme: disable renewal via url fetch for now
this does not seem to work.
From cf85854177:
// RenewCertificate attempts to renew an existing certificate.
// Let's Encrypt may return the same certificate. You should load your
// current x509.Certificate and use the Equal method to compare to the "new"
// certificate. If it's identical, you'll need to run NewCertificate and/or
// start a new certificate flow.
This commit is contained in:
@@ -415,7 +415,9 @@ Acme.prototype.getCertificate = function (domain, callback) {
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
var outdir = paths.APP_CERTS_DIR;
|
||||
var certUrl = safe.fs.readFileSync(path.join(outdir, domain + '.url'), 'utf8');
|
||||
// ignore renewal url for now since LE does not seem to support it
|
||||
// https://github.com/ericchiang/letsencrypt/blob/1edc428eec60a418dcc4045a2350fe9a9ad74b71/certificate.go#L52
|
||||
var certUrl = null; // safe.fs.readFileSync(path.join(outdir, domain + '.url'), 'utf8');
|
||||
var certificateGetter;
|
||||
|
||||
if (certUrl) {
|
||||
|
||||
Reference in New Issue
Block a user