diff --git a/lib/get-certificate.js b/lib/get-certificate.js index 08eb0a2..64a05fe 100644 --- a/lib/get-certificate.js +++ b/lib/get-certificate.js @@ -334,10 +334,11 @@ module.exports.create = function (deps) { privkeyPem = RSA.exportPrivateKeyPem(state.certKeypair); cb(null, { cert: certPem - // TODO nix key - , key: privkeyPem + // TODO privkey isn't necessary , privkey: privkeyPem - //, keypair: state.certKeypair // domainKeypair + , chain: state.caCertPem + // TODO nix key, ca + , key: privkeyPem , ca: state.caCertPem }); }