pass known urls

This commit is contained in:
AJ ONeal 2015-12-15 15:12:02 +00:00
parent 1bb9de56b0
commit 0775bf9000
1 changed files with 4 additions and 2 deletions

View File

@ -15,8 +15,10 @@ var Acme = require('./acme-client');
function getCert(options, cb) { function getCert(options, cb) {
var state={ var state={
validatedDomains:[], validatedDomains:[]
validAuthorizationUrls:[] , validAuthorizationUrls:[]
, newAuthorizationUrl: options.newAuthorizationUrl || options.newAuthz
, newCertificateUrl: options.newCertificateUrl || options.newCert
}; };
if (!options.accountPrivateKeyPem) { if (!options.accountPrivateKeyPem) {