Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
lib
Auto Encrypt Localhost
Commits
8e9526c4
Verified
Commit
8e9526c4
authored
Nov 26, 2019
by
Aral Balkan
Browse files
Fix regression: Node.js once again recognises nodecert certificates
parent
138bc5bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
8e9526c4
...
...
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Nothing yet.
## [3.1.4] - 2019-11-26
### Fixed
-
Fix regression: Node.js once again recognises nodecert certificates.
## [3.1.3] - 2019-11-26
### Fixed
...
...
index.js
View file @
8e9526c4
...
...
@@ -83,7 +83,7 @@ function allOK() {
// Ensure that node recognises the certificates (e.g., when using https.get(), etc.)
function
addRootStoreToNode
()
{
const
nodeCertRootCA
=
path
.
join
(
homeDir
,
'
.
nodecert
'
,
'
rootCA.pem
'
)
const
nodeCertRootCA
=
path
.
join
(
nodecert
Dir
,
'
rootCA.pem
'
)
syswidecas
.
addCAs
(
nodeCertRootCA
)
}
...
...
package.json
View file @
8e9526c4
{
"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."
,
"main"
:
"index.js"
,
"bin"
:
"bin/nodecert.js"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment