Skip to content
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

generate vpn certs + multiple bootstrap fixes #1

Merged
merged 4 commits into from
Oct 8, 2018
Merged

generate vpn certs + multiple bootstrap fixes #1

merged 4 commits into from
Oct 8, 2018

Conversation

wrboyce
Copy link
Contributor

@wrboyce wrboyce commented Sep 23, 2018

openssl: Improve cert generation and generate vpn certs

  • use easyrsa for cert generation/management
  • generate vpn requirements (ca, crt, dh)
  • remove node requirement for generating jwt kid
  • fix root ca cert generation
  • fix haproxy certificate generation

Signed-off-by: Will Boyce <will@resin.io>


start-project: Use getopts in place of positional args

Signed-off-by: Will Boyce <will@resin.io>


vagrant: Run docker login provision step as vagrant user

Signed-off-by: Will Boyce <will@resin.io>


scripts: lint fixes, add Makefile for linting

Signed-off-by: Will Boyce <will@resin.io>

@wrboyce wrboyce force-pushed the vpn-certs branch 2 times, most recently from 1a30581 to 280d975 Compare September 27, 2018 19:17
@wrboyce wrboyce changed the title [WIP] Improve cert generation and generate vpn certs generate vpn certs + multiple bootstrap fixes Sep 27, 2018
@wrboyce wrboyce force-pushed the vpn-certs branch 2 times, most recently from 0b4acbd to 3213116 Compare October 1, 2018 17:46
Copy link
Member

@dfunckt dfunckt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @wrboyce !

scripts/gen-root-ca Outdated Show resolved Hide resolved
scripts/make-env Show resolved Hide resolved
scripts/patch-hosts Show resolved Hide resolved
# FIXME: should be explicitly requested via a flag
echo_bold "==> Patching /etc/hosts..."
"${DIR}/patch-hosts" $HOST_NAME
if [ "${patch_hosts}" = "true" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice :)

* use easyrsa for cert generation/management
* generate vpn requirements (ca, crt, dh)
* remove `node` requirement for generating jwt kid
* fix root ca cert generation
* fix haproxy certificate generation

Signed-off-by: Will Boyce <will@resin.io>
Signed-off-by: Will Boyce <will@resin.io>
Signed-off-by: Will Boyce <will@resin.io>
Signed-off-by: Will Boyce <will@resin.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants