Commit 8e9526c4 authored by Aral Balkan's avatar Aral Balkan

Fix regression: Node.js once again recognises nodecert certificates

parent 138bc5bb
...@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Nothing yet. Nothing yet.
## [3.1.4] - 2019-11-26
### Fixed
- Fix regression: Node.js once again recognises nodecert certificates.
## [3.1.3] - 2019-11-26 ## [3.1.3] - 2019-11-26
### Fixed ### Fixed
......
...@@ -83,7 +83,7 @@ function allOK() { ...@@ -83,7 +83,7 @@ function allOK() {
// Ensure that node recognises the certificates (e.g., when using https.get(), etc.) // Ensure that node recognises the certificates (e.g., when using https.get(), etc.)
function addRootStoreToNode () { function addRootStoreToNode () {
const nodeCertRootCA = path.join(homeDir, '.nodecert', 'rootCA.pem') const nodeCertRootCA = path.join(nodecertDir, 'rootCA.pem')
syswidecas.addCAs(nodeCertRootCA) syswidecas.addCAs(nodeCertRootCA)
} }
......
{ {
"name": "@ind.ie/nodecert", "name": "@ind.ie/nodecert",
"version": "3.1.3", "version": "3.1.4",
"description": "Automatically provision and use locally-trusted TLS certificates in Node.js using mkcert.", "description": "Automatically provision and use locally-trusted TLS certificates in Node.js using mkcert.",
"main": "index.js", "main": "index.js",
"bin": "bin/nodecert.js", "bin": "bin/nodecert.js",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment