You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(release): publish public TLS API docs update
- refresh storefront docs from the latest console OpenAPI spec
- add TLS organization and staged certificate completion endpoints
- update OV and certbro workflows for public hdl_* org IDs
- align generated examples with the current org_id completion flow
certbro-public-snapshot: true
certbro-private-commit: 803112ad6d7417d86c211e44f1684816cd1b9fdf
certbro-private-branch: main
Copy file name to clipboardExpand all lines: README.de.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ sudo certbro issue \
59
59
--webserver nginx
60
60
```
61
61
62
-
Für DV-Produkte wartet `certbro issue` in der Regel auf die Ausstellung und deployt das Zertifikat direkt. Für OV- oder Business-Produkte kann die TLS API stattdessen `action_required=true` mit einer `completion_url` unter `/my/certs/...` zurückgeben. In diesem Fall speichert `certbro` das Pending-Material lokal, gibt die Console-URL aus und endet erfolgreich. Ein späterer Lauf von `certbro renew` setzt denselben offenen Vorgang fort, nachdem der Console-Schritt abgeschlossen wurde.
62
+
Für DV-Produkte wartet `certbro issue` in der Regel auf die Ausstellung und deployt das Zertifikat direkt. Für OV- oder organisationsvalidierte Business-Produkte kann die TLS API stattdessen `action_required=true` mit einer `completion_url` unter `/my/certs/...` zurückgeben. In diesem Fall speichert `certbro` das Pending-Material lokal, gibt die Console-URL aus und endet erfolgreich. Ein späterer Lauf von `certbro renew` setzt denselben offenen Vorgang fort, nachdem der Console-Schritt abgeschlossen wurde.
63
63
64
64
Renewals manuell ausführen:
65
65
@@ -78,7 +78,7 @@ sudo certbro install
78
78
- Multi-Domain-Zertifikate: `--dns-name` für jede SAN wiederholen
79
79
- Paralleler RSA- und ECDSA-Betrieb: `certbro issue-pair`
80
80
- Bereits bestehende regfish-Bestellungen: Import per `certificate_id`
81
-
- OV- oder Business-Bestellungen: `certbro issue` kann eine Console-`completion_url` zurückgeben; wenn bereits eine nutzbare `--org-id` bekannt ist, direkt mitgeben, andernfalls die Bestellung dort abschließen und später mit `certbro renew` finalisieren
81
+
- OV- oder Business-Bestellungen: `--org-id` erwartet die öffentliche TLS-Organisations-ID aus `/tls/organization` beziehungsweise `organization_id`, zum Beispiel `hdl_ABCDEFGHJKLMN`; `certbro issue` kann trotzdem noch eine Console-`completion_url` zurückgeben, wenn die Organisation nicht bestellbar ist oder weitere Completion-Daten fehlen
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ sudo certbro issue \
59
59
--webserver nginx
60
60
```
61
61
62
-
For DV products, `certbro issue` usually waits for issuance and deploys the certificate directly. For OV or business products, the TLS API can instead return `action_required=true` with a `completion_url` under `/my/certs/...`. In that case, `certbro` stores the pending material locally, prints the Console URL, and exits successfully. A later `certbro renew` run resumes the same pending order after the Console step has been completed.
62
+
For DV products, `certbro issue` usually waits for issuance and deploys the certificate directly. For OV or organization-validated business products, the TLS API can instead return `action_required=true` with a `completion_url` under `/my/certs/...`. In that case, `certbro` stores the pending material locally, prints the Console URL, and exits successfully. A later `certbro renew` run resumes the same pending order after the Console step has been completed.
63
63
64
64
Run renewals manually:
65
65
@@ -78,7 +78,7 @@ sudo certbro install
78
78
- Multi-domain certificates: repeat `--dns-name` for each SAN
79
79
- Dual RSA and ECDSA deployment: use `certbro issue-pair`
80
80
- Existing regfish orders: import by `certificate_id`
81
-
- OV or business orders: `certbro issue` can return a Console `completion_url`; if you already know a usable `--org-id`, pass it up front, otherwise complete the order there and let `certbro renew` finish it later
81
+
- OV or business orders: `--org-id` expects the public TLS organization id from `/tls/organization` or `organization_id`, for example `hdl_ABCDEFGHJKLMN`; `certbro issue` can still return a Console `completion_url` if the organization is not yet usable or more completion data is required
Copy file name to clipboardExpand all lines: docs/de/issuing-certificates.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,16 +29,18 @@ sudo certbro issue \
29
29
--product SecureSite
30
30
```
31
31
32
-
Wenn bereits eine nutzbare Organisations-ID aus der regfish Console bekannt ist, kann sie direkt mitgegeben werden:
32
+
Wenn bereits eine nutzbare öffentliche TLS-Organisations-ID bekannt ist, kann sie direkt mitgegeben werden:
33
33
34
34
```sh
35
35
sudo certbro issue \
36
36
--name example-com \
37
37
--common-name example.com \
38
38
--product SecureSite \
39
-
--org-id 42
39
+
--org-id hdl_ABCDEFGHJKLMN
40
40
```
41
41
42
+
`--org-id` erwartet dieselbe öffentliche `org_id`, die die TLS API in `/tls/organization`, `organization_id` und `POST /tls/certificate/{certificate_id}/complete` verwendet. Es geht nicht um eine interne numerische Datenbank-ID.
43
+
42
44
Damit wird die Bestellung direkt mit der vorhandenen Organisation verknüpft. Ist diese Organisation bereits bestellbar, kann die TLS API ohne gestufte Completion-URL direkt weiterlaufen.
43
45
44
46
Wenn die TLS API mit `action_required=true` antwortet, gibt `certbro` unter anderem diese Felder aus:
@@ -47,6 +49,7 @@ Wenn die TLS API mit `action_required=true` antwortet, gibt `certbro` unter ande
47
49
-`pending_reason`
48
50
-`pending_message`
49
51
-`completion_url`
52
+
-`organization_id`
50
53
51
54
Die `completion_url` in der regfish Console öffnen, die OV-/Business-Bestellung dort abschließen und danach erneut ausführen:
`certbro renew` setzt denselben offenen Vorgang fort und provisioniert DCV, sobald die Validierungsrecords verfügbar sind. Wenn das Zertifikat danach schon bereitsteht, lädt `certbro` es im selben Lauf herunter und deployt es. Wenn die providerseitige OV-/Business-Validierung noch läuft, beendet sich `certbro renew` sauber und setzt den Vorgang bei einem späteren Renewal-Lauf oder Timer-Zyklus fort.
58
61
62
+
Für direkte API-Clients beschreibt die aktuelle OpenAPI-Spezifikation zusätzlich den programmatischen Abschluss über `POST /tls/certificate/{certificate_id}/complete` mit einem Body wie:
63
+
64
+
```json
65
+
{
66
+
"org_id": "hdl_ABCDEFGHJKLMN"
67
+
}
68
+
```
69
+
70
+
`certbro` selbst nutzt dafür weiterhin die Console-`completion_url` und übernimmt danach im `renew`-Pfad wieder DCV, Polling, Download und Deployment.
71
+
59
72
## Laufzeit-Zeitplan
60
73
61
74
`certbro` folgt dem CA/B-Forum-Zeitplan für öffentlich vertrauenswürdige TLS-Zertifikate und beginnt aus Sicherheitsgründen jeweils einen Tag früher mit dem niedrigeren Default.
Copy file name to clipboardExpand all lines: docs/de/workflow-overview.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,17 +63,24 @@ sudo certbro issue \
63
63
--name example-com \
64
64
--common-name example.com \
65
65
--product SecureSite \
66
-
--org-id 42
66
+
--org-id hdl_ABCDEFGHJKLMN
67
67
```
68
68
69
69
Dadurch ändert sich der Ablauf:
70
70
71
71
1.`certbro` erzeugt Private Key und CSR weiterhin lokal.
72
-
2. Die Bestellung wird direkt mit der vorhandenen Organisations-ID verknüpft.
72
+
2. Die Bestellung wird direkt mit der vorhandenen öffentlichen TLS-Organisations-ID (`org_id`, zum Beispiel `hdl_ABCDEFGHJKLMN`) verknüpft.
73
73
3. Ist diese Organisation bereits bestellbar, kann die TLS API ohne den gestuften `completion_url`-Zwischenschritt direkt weiterlaufen.
74
74
4. Dann nähert sich der Ablauf wieder dem DV-Fall an: Validierungsrecords können schon in der ersten `issue`-Antwort auftauchen, und `certbro issue` kann die DNS-Records direkt im selben Lauf anlegen.
75
75
5. Ist die Organisation unvollständig oder nicht bestellbar, kann die TLS API trotzdem wieder in den gestuften OV-/Business-Flow zurückfallen.
Copy file name to clipboardExpand all lines: docs/en/issuing-certificates.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,16 +29,18 @@ sudo certbro issue \
29
29
--product SecureSite
30
30
```
31
31
32
-
If you already know a usable organization id from the regfish Console, pass it up front:
32
+
If you already know a usable public TLS organization id, pass it up front:
33
33
34
34
```sh
35
35
sudo certbro issue \
36
36
--name example-com \
37
37
--common-name example.com \
38
38
--product SecureSite \
39
-
--org-id 42
39
+
--org-id hdl_ABCDEFGHJKLMN
40
40
```
41
41
42
+
`--org-id` expects the same public `org_id` used by the TLS API in `/tls/organization`, `organization_id`, and `POST /tls/certificate/{certificate_id}/complete`. It is not an internal numeric database id.
43
+
42
44
That pre-links the order to the existing organization. If the organization is already usable for ordering, the TLS API can continue directly without returning a staged completion URL.
43
45
44
46
If the TLS API responds with `action_required=true`, `certbro` prints fields such as:
@@ -47,6 +49,7 @@ If the TLS API responds with `action_required=true`, `certbro` prints fields suc
47
49
-`pending_reason`
48
50
-`pending_message`
49
51
-`completion_url`
52
+
-`organization_id`
50
53
51
54
Follow the `completion_url` in the regfish Console, complete the OV/business order there, and then rerun:
`certbro renew` resumes the same pending order and provisions DCV as soon as validation records become available. If the certificate is already ready afterwards, `certbro` downloads and deploys it in the same run. If provider-side OV/business validation is still pending, `certbro renew` exits cleanly and continues on a later renewal run or timer cycle.
58
61
62
+
For direct API clients, the current OpenAPI specification also documents programmatic completion via `POST /tls/certificate/{certificate_id}/complete` with a payload such as:
63
+
64
+
```json
65
+
{
66
+
"org_id": "hdl_ABCDEFGHJKLMN"
67
+
}
68
+
```
69
+
70
+
`certbro` itself still relies on the Console `completion_url` for that human completion step and then resumes DCV, polling, download, and deployment during `renew`.
71
+
59
72
## Validity Schedule
60
73
61
74
`certbro` follows the CA/B Forum schedule for publicly trusted TLS certificate lifetimes and starts using the upcoming lower default one day earlier as a safety margin.
Copy file name to clipboardExpand all lines: docs/en/workflow-overview.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,17 +63,24 @@ sudo certbro issue \
63
63
--name example-com \
64
64
--common-name example.com \
65
65
--product SecureSite \
66
-
--org-id 42
66
+
--org-id hdl_ABCDEFGHJKLMN
67
67
```
68
68
69
69
This changes the flow:
70
70
71
71
1.`certbro` still creates the private key and CSR locally.
72
-
2. The order is pre-linked to the existing organization id.
72
+
2. The order is pre-linked to the existing public TLS organization id (`org_id`, for example `hdl_ABCDEFGHJKLMN`).
73
73
3. If that organization is already usable for ordering, the TLS API can continue directly without the staged `completion_url` detour.
74
74
4. In that case, the flow moves closer to DV behavior: validation records can appear immediately in the initial `issue` response, and `certbro issue` can provision DNS in the same run.
75
75
5. If the organization is incomplete or unusable, the TLS API can still fall back to the staged OV/business flow above.
0 commit comments