aboutsummaryrefslogtreecommitdiff
path: root/example/client-auth/pki.yaml
diff options
context:
space:
mode:
authorJeremy Clerc <jclerc@google.com>2017-02-15 14:29:43 +0100
committerJeremy Clerc <jclerc@google.com>2017-02-15 14:29:43 +0100
commit51e2e81502cdab076a3c0e4958fbb58884418fc8 (patch)
tree76d94f65b7b3814d0c5e335ec7e6952adf259647 /example/client-auth/pki.yaml
parent1d7c7f7b897ad203f8d873d6338edd7ec735f936 (diff)
downloadeasypki-51e2e81502cdab076a3c0e4958fbb58884418fc8.tar.xz
Add client authentication example.
Diffstat (limited to 'example/client-auth/pki.yaml')
-rw-r--r--example/client-auth/pki.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/example/client-auth/pki.yaml b/example/client-auth/pki.yaml
new file mode 100644
index 0000000..e115c04
--- /dev/null
+++ b/example/client-auth/pki.yaml
@@ -0,0 +1,33 @@
+subject:
+ organization:
+ - "Acme Inc."
+ organizationalUnit:
+ - "IT"
+ locality:
+ - "Agloe"
+ country:
+ - "US"
+ province:
+ - "New York"
+certs:
+ - name: "CA"
+ commonName: "CA"
+ isCA: true
+ expire: "720h"
+ - name: "Admins Intermediate CA"
+ commonName: "Admins Intermediate CA"
+ signer: "CA"
+ isCA: true
+ expire: "720h"
+ - name: "localhost"
+ commonName: "localhost"
+ dnsNames:
+ - "localhost"
+ signer: "Admins Intermediate CA"
+ expire: "720h"
+ - name: "bob@acme.com"
+ commonName: "bob@acme.com"
+ emailAddresses:
+ - "bob@acme.com"
+ signer: "Admins Intermediate CA"
+ expire: "720h" \ No newline at end of file