File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
new_samples/client_samples/helloworld_tls Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,22 @@ https://github.com/cadence-workflow/cadence/blob/e1267de12f8bc670fc84fab456d3495
2727
2828### Step 1: Download Certificates
2929Download certificates from config/credentials of cadence server and place them in below folder
30+ Or follow below steps
3031
3132``` bash
32- new_samples/client_samples/helloworld_tls/credentials
33+ mkdir -p new_samples/client_samples/helloworld_tls/credentials
34+
35+ $ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/client.crt
36+ $ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/client.key
37+ $ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/keytest.crt
38+
3339```
3440
3541### Step 2: Register the Domain
3642Before running workflows, you must register the "default" domain:
3743
3844``` bash
39- cd new_samples/client_samples/helloworld_tls
45+ cd ..
4046go run register_domain.go
4147```
4248
@@ -53,7 +59,6 @@ Domain already exists {"domain": "default"}
5359### Step 3: Run the Sample
5460In another terminal:
5561``` bash
56- cd new_samples/client_samples/helloworld_tls
5762go run hello_world_tls.go
5863```
5964
You can’t perform that action at this time.
0 commit comments