blob: 64f1b71d1b6bbe6d0b8e8eeb164e23c7f75aad7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Example
Shows example usage
(`set -x` is fish's notation for bash's `export`)
## No https
Example:
set -x HOSTNAME <<yourhostname>>; set -x CONFIG_BINDING_SERVICE <<cbshost>>; python testclient.py
## Https
The value of the environment variable `DCAE_CA_CERTPATH` must be a path to a cacert file to verify the running CBS.
The following excerpt is from the curl manpage:
--cacert <file>
(TLS) Tells curl to use the specified certificate file to verify the peer.
The file may contain multiple CA certificates.
Example:
set -x HOSTNAME <<yourhostname>>; set -x CONFIG_BINDING_SERVICE <<cbshost>>; set -x DCAE_CA_CERTPATH /opt/onapcacert.pem; python testclient.py
|