Comparing version 0.0.3 to 0.0.4
@@ -113,3 +113,3 @@ #!/usr/bin/env node | ||
_fs.default.writeFileSync(cert, [ssl.cert, caCert].join('\n')); //Create full chain by combining ca and domain certificate | ||
_fs.default.writeFileSync(cert, `${cert.cert}\n${caCertData}`); //Create full chain by combining ca and domain certificate | ||
@@ -116,0 +116,0 @@ |
{ | ||
"name": "mkcert", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Create Self Signed Development Certificates", | ||
@@ -5,0 +5,0 @@ "main": "lib/mkcert.js", |
@@ -1,2 +0,2 @@ | ||
Create Self Signed Development Certificates | ||
Create self signed ssl certificates without OpenSSL. | ||
@@ -3,0 +3,0 @@ ## Install |
@@ -68,3 +68,3 @@ #!/usr/bin/env node | ||
cert = path.resolve(cert); | ||
fs.writeFileSync(cert, [ ssl.cert, caCert ].join('\n')); //Create full chain by combining ca and domain certificate | ||
fs.writeFileSync(cert, `${cert.cert}\n${caCertData}`); //Create full chain by combining ca and domain certificate | ||
console.log(`SSL Certificate: ${cert}`); | ||
@@ -71,0 +71,0 @@ } |
@@ -56,3 +56,3 @@ import * as mkcert from '../src/mkcert'; | ||
// key: ssl.key, | ||
// cert: [ ssl.cert, ca.cert ].join('\n') //Create full chain by combining ca and domain certificate | ||
// cert: `${ssl.cert}\n${ca.cert}` //Create full chain by combining ca and domain certificate | ||
// }, (req, res)=> { | ||
@@ -59,0 +59,0 @@ // res.end('This Works'); |