From 93317c7a5cd63800d08572798d3c703a942cbfca Mon Sep 17 00:00:00 2001 From: nd Date: Tue, 29 Jun 2021 18:42:06 +0200 Subject: [PATCH] added example config for ownca certs --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/README.md b/README.md index bb480f3..ae92622 100644 --- a/README.md +++ b/README.md @@ -139,3 +139,47 @@ On the CA host for self signed certs those paths are used: * ca key: `/ca.key` * ca cert: `/ca.crt` * all signed certs: `/signed/` + +## Examples + +### Ownca with CA host and certificates on multiple servers + +The certificate name can be different on all hosts. +You can set more options like `san` as well. +The CA name musst be the same on all hosts. + musst be the inventory_hostname of the ca-host. + +**ca-host** +``` +certificates: + certs: + "": + backend: ownca + cn: "{{ inventory_hostname }}" + backend_override: + name: +``` + +**server01** +``` +certificates: + certs: + "": + backend: ownca + cn: "{{ inventory_hostname }}" + backend_override: + name: + remote: +``` + +**server02** +``` +certificates: + certs: + "": + backend: ownca + cn: "{{ inventory_hostname }}" + backend_override: + name: + remote: +```