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

specify ssl config for console #417

Merged
merged 1 commit into from
Jan 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion client/src/test/resources/docker-compose-casigned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ services:
- -c
- |
sleep 3 &&
nebula-console -addr graphd-casigned -port 9669 -u root -p nebula -e 'ADD HOSTS "172.29.2.1":9779' &&
nebula-console -addr graphd-casigned -port 9669 -u root -p nebula -enable_ssl=true -ssl_root_ca_path /share/resources/test.ca.pem -ssl_cert_path /share/resources/test.derive.crt -ssl_private_key_path /share/resources/test.derive.key --ssl_insecure_skip_verify=true -e 'ADD HOSTS "172.29.2.1":9779' &&
sleep 36000
volumes:
- ./ssl:/share/resources:Z
depends_on:
- graphd-casigned
networks:
Expand Down
6 changes: 5 additions & 1 deletion client/src/test/resources/docker-compose-selfsigned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,12 @@ services:
- -c
- |
sleep 3 &&
nebula-console -addr graphd-selfsigned -port 9669 -u root -p nebula -e 'ADD HOSTS "172.30.2.1":9779' &&
nebula-console -addr graphd-selfsigned -port 9669 -u root -p nebula -enable_ssl=true -ssl_root_ca_path /share/resources/test.ca.pem -ssl_cert_path /share/resources/test.derive.crt -ssl_private_key_path /share/resources/test.derive.key --ssl_insecure_skip_verify=true -e 'ADD HOSTS "172.30.2.1":9779' &&
sleep 36000
volumes:
- ./data/graph_self:/data/graph:Z
- ./logs/graph:/logs:Z
- ./ssl:/share/resources:Z
depends_on:
- graphd-selfsigned
networks:
Expand Down