fix linebreak issue with certs (for the brazillionth time)
This commit is contained in:
parent
1db1d10adc
commit
0db09589fd
2
index.js
2
index.js
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue