OPNexusdocs

API: acme

GET /api/acme/accounts#

List Acme Accounts

Berechtigung certificates.read (ansehen)

Antwort 200 AcmeAccountRead[]

19 Felder anzeigen
FeldTypHinweise
ca"letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" default: "letsencrypt"
created_at *string (date-time)
custom_castring default: "" · maxLength 255
deployed_at *string (date-time) | null
descriptionstring default: "" · maxLength 255
eab_hmac_set *boolean
eab_kidstring default: "" · maxLength 255
emailstring default: "" · maxLength 255
enabledboolean default: true
host_id *string (uuid)
id *string (uuid)
message *string | null
name *stringminLength 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
FeldTypHinweise
ca"letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" default: "letsencrypt"
custom_castring default: "" · maxLength 255
descriptionstring default: "" · maxLength 255
eab_hmacstring | null
eab_kidstring default: "" · maxLength 255
emailstring default: "" · maxLength 255
enabledboolean default: true
host_id *string (uuid)
name *stringminLength 1, maxLength 255

Antwort 201 AcmeAccountRead

19 Felder anzeigen
FeldTypHinweise
ca"letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" default: "letsencrypt"
created_at *string (date-time)
custom_castring default: "" · maxLength 255
deployed_at *string (date-time) | null
descriptionstring default: "" · maxLength 255
eab_hmac_set *boolean
eab_kidstring default: "" · maxLength 255
emailstring default: "" · maxLength 255
enabledboolean default: true
host_id *string (uuid)
id *string (uuid)
message *string | null
name *stringminLength 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 *pathstring (uuid)

Anfrage-Body AcmeAccountEdit

10 Felder anzeigen
FeldTypHinweise
ca"letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" default: "letsencrypt"
custom_castring default: "" · maxLength 255
descriptionstring default: "" · maxLength 255
eab_hmacstring | null
eab_kidstring default: "" · maxLength 255
emailstring default: "" · maxLength 255
enabledboolean default: true
expected_updated_at *string (date-time)
host_id *string (uuid)
name *stringminLength 1, maxLength 255

Antwort 200 AcmeAccountRead

19 Felder anzeigen
FeldTypHinweise
ca"letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" default: "letsencrypt"
created_at *string (date-time)
custom_castring default: "" · maxLength 255
deployed_at *string (date-time) | null
descriptionstring default: "" · maxLength 255
eab_hmac_set *boolean
eab_kidstring default: "" · maxLength 255
emailstring default: "" · maxLength 255
enabledboolean default: true
host_id *string (uuid)
id *string (uuid)
message *string | null
name *stringminLength 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 *pathstring (uuid)

Antwort 204

POST /api/acme/accounts/{account_id}/push#

Push Acme Account

Berechtigung certificates.deploy (ausrollen)

Parameter

account_id *pathstring (uuid)

Antwort 200 AcmeAccountRead

19 Felder anzeigen
FeldTypHinweise
ca"letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" default: "letsencrypt"
created_at *string (date-time)
custom_castring default: "" · maxLength 255
deployed_at *string (date-time) | null
descriptionstring default: "" · maxLength 255
eab_hmac_set *boolean
eab_kidstring default: "" · maxLength 255
emailstring default: "" · maxLength 255
enabledboolean default: true
host_id *string (uuid)
id *string (uuid)
message *string | null
name *stringminLength 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 *pathstring (uuid)

Antwort 200 AcmeAccountRead

19 Felder anzeigen
FeldTypHinweise
ca"letsencrypt" | "letsencrypt_test" | "zerossl" | "buypass" | "buypass_test" | "google" | "google_test" | "sslcom" | "custom" default: "letsencrypt"
created_at *string (date-time)
custom_castring default: "" · maxLength 255
deployed_at *string (date-time) | null
descriptionstring default: "" · maxLength 255
eab_hmac_set *boolean
eab_kidstring default: "" · maxLength 255
emailstring default: "" · maxLength 255
enabledboolean default: true
host_id *string (uuid)
id *string (uuid)
message *string | null
name *stringminLength 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
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
created_at *string (date-time)
deployed_at *string (date-time) | null
enabledboolean 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 *stringminLength 1, maxLength 255
ocspboolean 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_intervalinteger 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 *stringminLength 1, maxLength 64

POST /api/acme/certificates#

Create Acme Certificate Request

Berechtigung certificates.write (vorbereiten)

Anfrage-Body AcmeCertificateRequestCreate

10 Felder anzeigen
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
enabledboolean default: true
host_id *string (uuid)
key_length"key_2048" | "key_3072" | "key_4096" | "key_ec256" | "key_ec384" default: "key_4096"
name *stringminLength 1, maxLength 255
ocspboolean default: false
renew_intervalinteger default: 60 · minimum 0, maximum 5000
validation_ref *stringminLength 1, maxLength 64

Antwort 201 AcmeCertificateRequestRead

23 Felder anzeigen
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
created_at *string (date-time)
deployed_at *string (date-time) | null
enabledboolean 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 *stringminLength 1, maxLength 255
ocspboolean 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_intervalinteger 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 *stringminLength 1, maxLength 64

PUT /api/acme/certificates/{request_id}#

Edit Acme Certificate Request

Berechtigung certificates.write (vorbereiten)

Parameter

request_id *pathstring (uuid)

Anfrage-Body AcmeCertificateRequestEdit

11 Felder anzeigen
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
enabledboolean 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 *stringminLength 1, maxLength 255
ocspboolean default: false
renew_intervalinteger default: 60 · minimum 0, maximum 5000
validation_ref *stringminLength 1, maxLength 64

Antwort 200 AcmeCertificateRequestRead

23 Felder anzeigen
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
created_at *string (date-time)
deployed_at *string (date-time) | null
enabledboolean 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 *stringminLength 1, maxLength 255
ocspboolean 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_intervalinteger 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 *stringminLength 1, maxLength 64

DELETE /api/acme/certificates/{request_id}#

Delete Acme Certificate Request

Berechtigung certificates.deploy (ausrollen)

Parameter

request_id *pathstring (uuid)

Antwort 204

POST /api/acme/certificates/{request_id}/poll#

Poll Acme Certificate Request

Berechtigung certificates.deploy (ausrollen)

Parameter

request_id *pathstring (uuid)

Antwort 200 AcmeCertificateRequestRead

23 Felder anzeigen
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
created_at *string (date-time)
deployed_at *string (date-time) | null
enabledboolean 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 *stringminLength 1, maxLength 255
ocspboolean 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_intervalinteger 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 *stringminLength 1, maxLength 64

POST /api/acme/certificates/{request_id}/push#

Push Acme Certificate Request

Berechtigung certificates.deploy (ausrollen)

Parameter

request_id *pathstring (uuid)

Antwort 200 AcmeCertificateRequestRead

23 Felder anzeigen
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
created_at *string (date-time)
deployed_at *string (date-time) | null
enabledboolean 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 *stringminLength 1, maxLength 255
ocspboolean 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_intervalinteger 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 *stringminLength 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 *pathstring (uuid)

Antwort 200 AcmeCertificateRequestRead

23 Felder anzeigen
FeldTypHinweise
account_id *string (uuid)
alt_namesstring default: "" · maxLength 2000
auto_renewalboolean default: true
created_at *string (date-time)
deployed_at *string (date-time) | null
enabledboolean 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 *stringminLength 1, maxLength 255
ocspboolean 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_intervalinteger 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 *stringminLength 1, maxLength 64