From ea4f4f0b06e1dba70320cd0ae7abbd4fecbfaffe Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 12 Sep 2021 18:07:50 +0200 Subject: added 2 schemas describing ACME in /assets/images --- assets/images/acme_chronogram.svg | 1477 ++++++++++++++++++++++++++++++++ assets/images/acme_goal.svg | 1675 +++++++++++++++++++++++++++++++++++++ 2 files changed, 3152 insertions(+) create mode 100644 assets/images/acme_chronogram.svg create mode 100644 assets/images/acme_goal.svg diff --git a/assets/images/acme_chronogram.svg b/assets/images/acme_chronogram.svg new file mode 100644 index 0000000..7637a11 --- /dev/null +++ b/assets/images/acme_chronogram.svg @@ -0,0 +1,1477 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + Diplonat http *:8888 + + + + Diplonat http *:8888 + + + + + + + + + nginx https *:443 +http *:80 + + + + nginx https *:443... + + + + + + + + + consul + + + + consul + + + + + + + + + Let's Encrypt +(ACME Provider) + + + + Let's Encrypt... + + + + + + + + + consul_template +or ContainerPilot +or Nomad + + + + consul_template... + + + + + + + + + + + + + + + Watch /diplonat/tls/zinz.{crt,pem} + + + + Watch /diplonat/tls/zinz.{crt,pem} + + + + + + + + + operator + + + + operator + + + + + + + + + + + Register service with tag (diplonat (tls zinz.dev)) + + + + Register service with tag (diplonat (tls zinz.dev)) + + + + + + + + + + Configure and start a process manager + + + + Configure and start a process manager + + + + + + + + + + + Monitor services + + + + Monitor services + + + + + + + + + + + + Informed through monitoring that something changed in the service registry + + + + Informed through monitoring that something changed in the service registry + + + + + + + + + + client + + + + client + + + + + + + + + + webservice +localhost:9387 + + + + webservice... + + + + + + + + + + + + Check if certificates already exists (GET /diplonat/tls/zinz.pem) + + + + Check if certificates already exists (GET /diplonat/tls/zinz.pem) + + + + + + + + + + A not yet tracked certificate is needed + + + + + A not yet tracked ce... + + + + + + + + + + + Not Found  in Consul (or expired) + + + + Not Found  in Consul (or expired) + + + + + + + + + + Triggers ACME logic +expose /.well_known/... + + + + + Triggers ACME logic... + + + + + + + + + + Ask for HTTP Challenge Verif + + + + Ask for HTTP Challenge Verif + + + + + + + + + + + + Returns signed certif + + + + Returns signed certif + + + + + + + + + + + Save it as  /deplonat/tls/zinz.{crt,pem} + + + + Save it as  /deplonat/tls/zinz.{crt,pem} + + + + + + + + + + Notify + + + + Notify + + + + + + + + + + + Rebuild configuration ++ fetch files + + + + + + Rebuild configura... + + + + + + + + + + + Send a SIGHUP + + + + Send a SIGHUP + + + + + + + + + + Reconfigure itself + + + + + + Reconfigure itsel... + + + + + + + + + + + + During Diplonat initialization + + + + + + During Diplonat initialization + + + + + + + + + + + When an operator adds a service which needs a new certificate + + + + + + When an operator adds a servic... + + + + + + + + + + + When a client accesses the service + + + + + + When a client accesses the ser... + + + + + + + + + + + + + + + + + + Viewer does not support full SVG 1.1 + + + diff --git a/assets/images/acme_goal.svg b/assets/images/acme_goal.svg new file mode 100644 index 0000000..be01214 --- /dev/null +++ b/assets/images/acme_goal.svg @@ -0,0 +1,1675 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Compute + + + + Web server (nginx) + + + + Web service + + + + ACME client (diplonat) + + + + ACME CA server + + + + + HTTP + HTTPS + + HTTP: + /.well-known/acme-challenge/<token> + + Storage + + + + + + + + + + 1 + + + + 2 + + + + 3 + + + Issuecert. + Store + Locate + + -- cgit v1.2.3