copy/paste-o live -> archive

This commit is contained in:
AJ ONeal 2015-12-19 12:15:36 -08:00
parent 1e2f559c2e
commit 806a80e3e5
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ function getCertificateAsync(account, args, defaults, handlers) {
|| obj.privkey || obj.keyPath
|| path.join(liveDir, 'privkey.pem');
var archiveDir = args.archiveDir || path.join(args.configDir, 'live', args.domains[0]);
var archiveDir = args.archiveDir || path.join(args.configDir, 'archive', args.domains[0]);
var checkpoint = obj.checkpoint.toString();
var certArchive = path.join(archiveDir, 'cert' + checkpoint + '.pem');