From 0775bf90000cdb55a3959af90c69389161ab1005 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 15 Dec 2015 15:12:02 +0000 Subject: [PATCH] pass known urls --- lib/get-certificate.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/get-certificate.js b/lib/get-certificate.js index 3dc4c9b..813ae7e 100644 --- a/lib/get-certificate.js +++ b/lib/get-certificate.js @@ -15,8 +15,10 @@ var Acme = require('./acme-client'); function getCert(options, cb) { var state={ - validatedDomains:[], - validAuthorizationUrls:[] + validatedDomains:[] + , validAuthorizationUrls:[] + , newAuthorizationUrl: options.newAuthorizationUrl || options.newAuthz + , newCertificateUrl: options.newCertificateUrl || options.newCert }; if (!options.accountPrivateKeyPem) {