-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gatsby): Add self-signed cert to node trust store (https) (#18703)
1. It upgrades `devcert` to `v1.1.0` to fix https issues. - ~The version is currently pointing to the release branch of my `devcert` fork, as a proof of concept~ - ~If/when `devcert` gets patched and published, I will update the version spec to point to the new version~ 2. It adds a little functionality to trust self-signed, and privately signed, certs - If only flags `--cert-file` and `--key-file` are specified, it assumes it's self-signed, and tells node to trust it. - I've included a new CLI flag, `--ca-file`. If the certificate is signed by a private ca, then include that ca's certificate using this flag in order for node to trust the cert/key pair 3. It adds functionality to collect the ca certificate path from `devcert` during the automatic setup, and tells node to trust it. 4. It updates the documentation to reflect the new changes/process. Co-authored-by: Jeremy Albright <[email protected]> Co-authored-by: Ward Peeters <[email protected]> Co-authored-by: LB <[email protected]> Co-authored-by: Laurie Barth <[email protected]>
- Loading branch information
1 parent
2ea2a8e
commit 4fd8f8e
Showing
8 changed files
with
199 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.