Add description of turn off TLS
[dcaegen2.git] / docs / sections / services / ves-hv / running-insecure.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 .. _running_insecure:
5
6 Running insecure HV-VES in test environments
7 ============================================
8
9 HV-VES application is configured by default to use TLS/SSL encryption on TCP connection. However it is posible to turn off TLS/SSL authorization by overriding Cloudify blueprint inputs.
10
11
12 Accessing bootstrap container with Kubernetes command line tool
13 ---------------------------------------------------------------
14
15 To find bootstrap pod, execute the following command:
16
17 ::
18
19     kubectl -n <onap namespace> get pods | grep bootstrap
20
21 To run command line in bootstrap pod, execute:
22
23 ::
24
25     kubectl -n <onap namespace> exec -it <bootstrap-pod-name> bash
26
27
28 Disable TLS/SSL by overriding Cloudify blueprint inputs
29 -------------------------------------------------------
30
31 1. If You have a running HV-VES instance, uninstall HV-VES and delete current deployment:
32
33 :: 
34
35     cfy executions start -d hv-ves uninstall
36     cfy deployments delete hv-ves 
37
38 2. Create new deployment with inputs from yaml file and override 'security_ssl_disable' value:
39
40 :: 
41
42     cfy deployments create -b hv-ves -i inputs/k8s-hv_ves-inputs.yaml -i security_ssl_disable=True hv-ves
43
44 To verify inputs, You can execute: 
45
46 :: 
47
48     cfy deployments inputs hv-ves
49
50 3. Install HV-VES deployment:
51
52 :: 
53
54     cfy executions start -d hv-ves install
55
56
57
58