-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(gatsby): Add self-signed cert to node trust store (https) #18703
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
12accb6
Update devcert to point to my dev repo
5540d13
Update program.host to reflect server certificate
cc82fcc
Trust self signed certificates
6e99fae
Destructure ssl data and trust ca
393429e
keyPath/certPath are not used outside of this module
a126ffb
Use more robust encryption password routine
c0a4ac8
Allow defining ca certificate from cli
77530fe
Use cli defined ca certificate, if it exists
1edfef2
prompt verbiage
73cf13f
Update docs
dc486a5
Change --ca to --ca-file
730d980
Updated devcert/certutil setup process
Js-Brecht e56a7c5
Missed relative -> absolute path
Js-Brecht ebce67d
certutil is completely ignored on Windows
Js-Brecht 5b0533c
Align usage with `npm run develop`
Js-Brecht 0483702
Renamed imported function/destructured returned value
Js-Brecht 73d61cc
Use updated devcert api
Js-Brecht ff0f4c8
Separated getWindowsEncryptionPassword function
Js-Brecht 76f1197
Updated tests/snapshot to work with new devcert API
Js-Brecht 9a60c68
Doc formatting
Js-Brecht 91742a4
Allow defining ca certificate from cli
04a6074
prettier code style formatting
Js-Brecht 07dc617
keyPath / certPath are not being used.
Js-Brecht cf381df
install certutil automatically (if possible)
Js-Brecht e360131
devcert api call test fix
Js-Brecht 5c7caa2
use braces
Js-Brecht 2398966
Updated docs per suggestions
Js-Brecht ea47440
all-caps HTTPS
Js-Brecht edc486a
doc: devcert-cli change
Js-Brecht 4296400
restructure doc
fffaa0d
Merge branch 'devcert-upgrade' of https://github.com/Js-Brecht/gatsby…
f2ac0a1
missed an HTTPS
Js-Brecht daed896
Merge branch 'master' into devcert-upgrade
wardpeet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should "a record in your hosts file, " be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About removing that phrase: this process is not contingent on there being a record in the hosts file, so saying "if you have a record in your hosts file, it will automatically be configured" wouldn't be accurate.
If we remove "a record in your hosts file, ", then "it" becomes kind of vague in this context... what is "it"? If the goal is to make it a bit less technical, maybe it could read?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wardpeet any thoughts?