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) {