fix linebreak issue with certs (for the brazillionth time)

This commit is contained in:
AJ ONeal 2018-07-04 00:59:48 -06:00
parent 1db1d10adc
commit 0db09589fd
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ module.exports.create = function (configs) {
return PromiseA.all([
sfs.writeFileAsync(certArchive, pems.cert, 'ascii')
, sfs.writeFileAsync(chainArchive, pems.chain, 'ascii')
, sfs.writeFileAsync(fullchainArchive, pems.cert + pems.chain, 'ascii')
, sfs.writeFileAsync(fullchainArchive, [ pems.cert, pems.chain ].join('\n'), 'ascii')
, sfs.writeFileAsync(privkeyArchive, pems.privkey, 'ascii')
]);
}).then(function () {