API: acme
GET /api/acme/accounts#
List Acme Accounts
Berechtigung certificates.read (ansehen)
Antwort 200 AcmeAccountRead[]
19 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
ca | "letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" | default: "letsencrypt" |
created_at * | string (date-time) | |
custom_ca | string | default: "" · maxLength 255 |
deployed_at * | string (date-time) | null | |
description | string | default: "" · maxLength 255 |
eab_hmac_set * | boolean | |
eab_kid | string | default: "" · maxLength 255 |
email | string | default: "" · maxLength 255 |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
opnsense_uuid * | string | null | |
register_at * | string (date-time) | null | |
register_message * | string | null | |
register_status * | string | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) |
POST /api/acme/accounts#
Create Acme Account
Berechtigung certificates.write (vorbereiten)
Anfrage-Body AcmeAccountCreate
9 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
ca | "letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" | default: "letsencrypt" |
custom_ca | string | default: "" · maxLength 255 |
description | string | default: "" · maxLength 255 |
eab_hmac | string | null | |
eab_kid | string | default: "" · maxLength 255 |
email | string | default: "" · maxLength 255 |
enabled | boolean | default: true |
host_id * | string (uuid) | |
name * | string | minLength 1, maxLength 255 |
Antwort 201 AcmeAccountRead
19 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
ca | "letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" | default: "letsencrypt" |
created_at * | string (date-time) | |
custom_ca | string | default: "" · maxLength 255 |
deployed_at * | string (date-time) | null | |
description | string | default: "" · maxLength 255 |
eab_hmac_set * | boolean | |
eab_kid | string | default: "" · maxLength 255 |
email | string | default: "" · maxLength 255 |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
opnsense_uuid * | string | null | |
register_at * | string (date-time) | null | |
register_message * | string | null | |
register_status * | string | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) |
PUT /api/acme/accounts/{account_id}#
Edit Acme Account
Berechtigung certificates.write (vorbereiten)
Parameter
account_id * | path | string (uuid) |
Anfrage-Body AcmeAccountEdit
10 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
ca | "letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" | default: "letsencrypt" |
custom_ca | string | default: "" · maxLength 255 |
description | string | default: "" · maxLength 255 |
eab_hmac | string | null | |
eab_kid | string | default: "" · maxLength 255 |
email | string | default: "" · maxLength 255 |
enabled | boolean | default: true |
expected_updated_at * | string (date-time) | |
host_id * | string (uuid) | |
name * | string | minLength 1, maxLength 255 |
Antwort 200 AcmeAccountRead
19 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
ca | "letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" | default: "letsencrypt" |
created_at * | string (date-time) | |
custom_ca | string | default: "" · maxLength 255 |
deployed_at * | string (date-time) | null | |
description | string | default: "" · maxLength 255 |
eab_hmac_set * | boolean | |
eab_kid | string | default: "" · maxLength 255 |
email | string | default: "" · maxLength 255 |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
opnsense_uuid * | string | null | |
register_at * | string (date-time) | null | |
register_message * | string | null | |
register_status * | string | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) |
DELETE /api/acme/accounts/{account_id}#
Delete Acme Account
Berechtigung certificates.deploy (ausrollen)
Parameter
account_id * | path | string (uuid) |
Antwort 204
POST /api/acme/accounts/{account_id}/push#
Push Acme Account
Berechtigung certificates.deploy (ausrollen)
Parameter
account_id * | path | string (uuid) |
Antwort 200 AcmeAccountRead
19 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
ca | "letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" | default: "letsencrypt" |
created_at * | string (date-time) | |
custom_ca | string | default: "" · maxLength 255 |
deployed_at * | string (date-time) | null | |
description | string | default: "" · maxLength 255 |
eab_hmac_set * | boolean | |
eab_kid | string | default: "" · maxLength 255 |
email | string | default: "" · maxLength 255 |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
opnsense_uuid * | string | null | |
register_at * | string (date-time) | null | |
register_message * | string | null | |
register_status * | string | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) |
POST /api/acme/accounts/{account_id}/register#
Register Acme Account
REAL, blocking network call to the configured external CA — see acme_service.register_account()'s docstring. The frontend gates this behind an explicit two-step warning (AcmeActionConfirm.tsx); this endpoint itself fires immediately on request, same as ipsec.py's deploy endpoint firing immediately once the frontend has armed it.
Berechtigung certificates.deploy (ausrollen)
Parameter
account_id * | path | string (uuid) |
Antwort 200 AcmeAccountRead
19 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
ca | "letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" | default: "letsencrypt" |
created_at * | string (date-time) | |
custom_ca | string | default: "" · maxLength 255 |
deployed_at * | string (date-time) | null | |
description | string | default: "" · maxLength 255 |
eab_hmac_set * | boolean | |
eab_kid | string | default: "" · maxLength 255 |
email | string | default: "" · maxLength 255 |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
opnsense_uuid * | string | null | |
register_at * | string (date-time) | null | |
register_message * | string | null | |
register_status * | string | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) |
GET /api/acme/certificates#
List Acme Certificate Requests
Berechtigung certificates.read (ansehen)
Antwort 200 AcmeCertificateRequestRead[]
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
created_at * | string (date-time) | |
deployed_at * | string (date-time) | null | |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
opnsense_uuid * | string | null | |
remote_last_update * | string (date-time) | null | |
remote_status_code * | integer | null | |
remote_status_last_update * | string (date-time) | null | |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
sign_message * | string | null | |
sign_status * | string | null | |
sign_triggered_at * | string (date-time) | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) | |
validation_ref * | string | minLength 1, maxLength 64 |
POST /api/acme/certificates#
Create Acme Certificate Request
Berechtigung certificates.write (vorbereiten)
Anfrage-Body AcmeCertificateRequestCreate
10 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
enabled | boolean | default: true |
host_id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
validation_ref * | string | minLength 1, maxLength 64 |
Antwort 201 AcmeCertificateRequestRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
created_at * | string (date-time) | |
deployed_at * | string (date-time) | null | |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
opnsense_uuid * | string | null | |
remote_last_update * | string (date-time) | null | |
remote_status_code * | integer | null | |
remote_status_last_update * | string (date-time) | null | |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
sign_message * | string | null | |
sign_status * | string | null | |
sign_triggered_at * | string (date-time) | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) | |
validation_ref * | string | minLength 1, maxLength 64 |
PUT /api/acme/certificates/{request_id}#
Edit Acme Certificate Request
Berechtigung certificates.write (vorbereiten)
Parameter
request_id * | path | string (uuid) |
Anfrage-Body AcmeCertificateRequestEdit
11 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
enabled | boolean | default: true |
expected_updated_at * | string (date-time) | |
host_id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
validation_ref * | string | minLength 1, maxLength 64 |
Antwort 200 AcmeCertificateRequestRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
created_at * | string (date-time) | |
deployed_at * | string (date-time) | null | |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
opnsense_uuid * | string | null | |
remote_last_update * | string (date-time) | null | |
remote_status_code * | integer | null | |
remote_status_last_update * | string (date-time) | null | |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
sign_message * | string | null | |
sign_status * | string | null | |
sign_triggered_at * | string (date-time) | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) | |
validation_ref * | string | minLength 1, maxLength 64 |
DELETE /api/acme/certificates/{request_id}#
Delete Acme Certificate Request
Berechtigung certificates.deploy (ausrollen)
Parameter
request_id * | path | string (uuid) |
Antwort 204
POST /api/acme/certificates/{request_id}/poll#
Poll Acme Certificate Request
Berechtigung certificates.deploy (ausrollen)
Parameter
request_id * | path | string (uuid) |
Antwort 200 AcmeCertificateRequestRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
created_at * | string (date-time) | |
deployed_at * | string (date-time) | null | |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
opnsense_uuid * | string | null | |
remote_last_update * | string (date-time) | null | |
remote_status_code * | integer | null | |
remote_status_last_update * | string (date-time) | null | |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
sign_message * | string | null | |
sign_status * | string | null | |
sign_triggered_at * | string (date-time) | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) | |
validation_ref * | string | minLength 1, maxLength 64 |
POST /api/acme/certificates/{request_id}/push#
Push Acme Certificate Request
Berechtigung certificates.deploy (ausrollen)
Parameter
request_id * | path | string (uuid) |
Antwort 200 AcmeCertificateRequestRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
created_at * | string (date-time) | |
deployed_at * | string (date-time) | null | |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
opnsense_uuid * | string | null | |
remote_last_update * | string (date-time) | null | |
remote_status_code * | integer | null | |
remote_status_last_update * | string (date-time) | null | |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
sign_message * | string | null | |
sign_status * | string | null | |
sign_triggered_at * | string (date-time) | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) | |
validation_ref * | string | minLength 1, maxLength 64 |
POST /api/acme/certificates/{request_id}/sign#
Sign Acme Certificate Request
REAL, asynchronous network call to the configured external CA — see acme_service.sign_certificate_request()'s docstring. Frontend-gated the same way register_acme_account() above is.
Berechtigung certificates.deploy (ausrollen)
Parameter
request_id * | path | string (uuid) |
Antwort 200 AcmeCertificateRequestRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
account_id * | string (uuid) | |
alt_names | string | default: "" · maxLength 2000 |
auto_renewal | boolean | default: true |
created_at * | string (date-time) | |
deployed_at * | string (date-time) | null | |
enabled | boolean | default: true |
host_id * | string (uuid) | |
id * | string (uuid) | |
key_length | "key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" | default: "key_4096" |
message * | string | null | |
name * | string | minLength 1, maxLength 255 |
ocsp | boolean | default: false |
opnsense_uuid * | string | null | |
remote_last_update * | string (date-time) | null | |
remote_status_code * | integer | null | |
remote_status_last_update * | string (date-time) | null | |
renew_interval | integer | default: 60 · minimum 0, maximum 5000 |
sign_message * | string | null | |
sign_status * | string | null | |
sign_triggered_at * | string (date-time) | null | |
status * | "draft" | "success" | "error" | |
updated_at * | string (date-time) | |
validation_ref * | string | minLength 1, maxLength 64 |