mirror of
https://github.com/MAKS-IT-COM/maksit-certs-ui.git
synced 2025-12-31 04:00:03 +01:00
84 lines
3.6 KiB
Markdown
84 lines
3.6 KiB
Markdown
#ACMEv2 Client library
|
|
|
|
https://tools.ietf.org/html/draft-ietf-acme-acme-18
|
|
|
|
The following diagram illustrates the relations between resources on
|
|
an ACME server. For the most part, these relations are expressed by
|
|
URLs provided as strings in the resources' JSON representations.
|
|
Lines with labels in quotes indicate HTTP link relations.
|
|
|
|
directory
|
|
|
|
|
+--> new-nonce
|
|
|
|
|
+----------+----------+-----+-----+------------+
|
|
| | | | |
|
|
| | | | |
|
|
V V V V V
|
|
newAccount newAuthz newOrder revokeCert keyChange
|
|
| | |
|
|
| | |
|
|
V | V
|
|
account | order -----> cert
|
|
| |
|
|
| |
|
|
| V
|
|
+------> authz
|
|
| ^
|
|
| | "up"
|
|
V |
|
|
challenge
|
|
|
|
|
|
|
|
+-------------------+--------------------------------+--------------+
|
|
| Action | Request | Response |
|
|
+-------------------+--------------------------------+--------------+
|
|
| Get directory | GET directory | 200 |
|
|
| | | |
|
|
| Get nonce | HEAD newNonce | 200 |
|
|
| | | |
|
|
| Create account | POST newAccount | 201 -> |
|
|
| | | account |
|
|
| | | |
|
|
| Submit order | POST newOrder | 201 -> order |
|
|
| | | |
|
|
| Fetch challenges | POST-as-GET order's | 200 |
|
|
| | authorization urls | |
|
|
| | | |
|
|
| Respond to | POST authorization challenge | 200 |
|
|
| challenges | urls | |
|
|
| | | |
|
|
| Poll for status | POST-as-GET order | 200 |
|
|
| | | |
|
|
| Finalize order | POST order's finalize url | 200 |
|
|
| | | |
|
|
| Poll for status | POST-as-GET order | 200 |
|
|
| | | |
|
|
| Download | POST-as-GET order's | 200 |
|
|
| certificate | certificate url | |
|
|
+-------------------+--------------------------------+--------------+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pending
|
|
|
|
|
| Receive
|
|
| response
|
|
V
|
|
processing <-+
|
|
| | | Server retry or
|
|
| | | client retry request
|
|
| +----+
|
|
|
|
|
|
|
|
Successful | Failed
|
|
validation | validation
|
|
+---------+---------+
|
|
| |
|
|
V V
|
|
valid invalid
|