aboutsummaryrefslogtreecommitdiff
path: root/example/client-auth/README.md
diff options
context:
space:
mode:
authorJeremy Clerc <jclerc@google.com>2017-02-15 14:45:47 +0100
committerJeremy Clerc <jclerc@google.com>2017-02-15 14:45:47 +0100
commit48788f8d084bc2e3d97341b060761747faf11a83 (patch)
tree286ce2163346c9ef998adc26a85c306f2137f65a /example/client-auth/README.md
parent51e2e81502cdab076a3c0e4958fbb58884418fc8 (diff)
downloadeasypki-48788f8d084bc2e3d97341b060761747faf11a83.tar.xz
Group example binary to not mess with go get.
Diffstat (limited to 'example/client-auth/README.md')
-rw-r--r--example/client-auth/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/example/client-auth/README.md b/example/client-auth/README.md
index b359ace..44d0d50 100644
--- a/example/client-auth/README.md
+++ b/example/client-auth/README.md
@@ -7,14 +7,14 @@ having a trusted certificate.
Build the PKI from the yaml definition:
```
-go run build-pki.go -config_path pki.yaml -db_path pki.boltdb
+go run client-auth.go -config_path pki.yaml -db_path pki.boltdb
```
Fetch the certificates needed for nginx:
```
-go run get.go -db_path pki.boltdb -ca_name "Admins Intermediate CA" -bundle_name "localhost"
-go run get.go -db_path pki.boltdb -bundle_name "Admins Intermediate CA"
+go run client-auth.go -db_path pki.boltdb -ca_name "Admins Intermediate CA" -bundle_name "localhost"
+go run client-auth.go -db_path pki.boltdb -bundle_name "Admins Intermediate CA"
```
Create the nginx config structure:
@@ -32,7 +32,7 @@ golang.org/x/crypto/pkcs12 only provides decoding, so we use openssl.
Fetch the client certificate and create a pkcs12 formatted file:
```
-go run get.go -db_path pki.boltdb -ca_name "Admins Intermediate CA" -bundle_name bob@acme.com -full_chain=false
+go run client-auth.go -db_path pki.boltdb -ca_name "Admins Intermediate CA" -bundle_name bob@acme.com -full_chain=false
cat bob@acme.com.{key,crt} | openssl pkcs12 -export -out bob@acme.com+pkcs12.crt
```
@@ -41,7 +41,7 @@ Import bob@acme.com+pkcs12.crt in your favorite browser.
Fetch the root CA to import in the browser:
```
-go run get.go -db_path pki.boltdb -bundle_name "CA"
+go run client-auth.go -db_path pki.boltdb -bundle_name "CA"
```
Import CA+chain.crt in your favorite browser.