Skip to content

Commit abe503e

Browse files
committed
Move examples to it's own directory so the build works.
1 parent e8a66d8 commit abe503e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Example
22

3-
# Client & Server requests
3+
# Bootstrap Client & Server
44

55
On this example we are going to see the Certificate Authority running, as well
66
as a simple Server using TLS and a simple client doing TLS requests to the
@@ -20,7 +20,7 @@ provisioner password:
2020
```
2121
certificates $ export STEPPATH=examples/pki
2222
certificates $ export STEP_CA_URL=https://localhost:9000
23-
certificates $ go run examples/server.go $(step ca new-token localhost))
23+
certificates $ go run examples/bootstrap-server/server.go $(step ca new-token localhost))
2424
✔ Key ID: DmAtZt2EhmZr_iTJJ387fr4Md2NbzMXGdXQNW1UWPXk (mariano@smallstep.com)
2525
Please enter the password to decrypt the provisioner key:
2626
Listening on :8443 ...
@@ -58,7 +58,7 @@ But if we the client with the certificate name Mike we'll see:
5858
```
5959
certificates $ export STEPPATH=examples/pki
6060
certificates $ export STEP_CA_URL=https://localhost:9000
61-
certificates $ go run examples/client.go $(step ca new-token Mike)
61+
certificates $ go run examples/bootstrap-client/client.go $(step ca new-token Mike)
6262
✔ Key ID: DmAtZt2EhmZr_iTJJ387fr4Md2NbzMXGdXQNW1UWPXk (mariano@smallstep.com)
6363
Please enter the password to decrypt the provisioner key:
6464
Server responded: Hello Mike at 2018-11-03 01:52:52.678215 +0000 UTC!!!
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)