Download the certificate an order of the account's was issued.

POST /organizations/{organizationId}/authorities/{authorityId}/acme/certificates/{certificateId}

POST https://dev.zanpki.com/organizations/{organizationId}/authorities/{authorityId}/acme/certificates/{certificateId}

ID da operação organizations.organizationId.authorities.authorityId.acme.certificates.certificateId.post
Acesso Qualquer pessoa

Parâmetros

NomeEmTipoDescrição
organizationId Caminho Obrigatório string (snowflake) The organization.
authorityId Caminho Obrigatório string (snowflake) The authority.
certificateId Caminho Obrigatório string (snowflake) The certificate.

Corpo da requisição

Obrigatório, enviado como application/jose+json.

A JWS in its flattened JSON form, signed by the account (or, opening one, by its new key).

Esquema: AcmeJwsBody

PropriedadeTipoDescrição
protected string Obrigatório The JWS protected header, base64url-encoded JSON: its alg (ES256, RS256 or EdDSA), nonce and url, and either the account key as jwk, for a new account, or the account's URL as kid.
payload string Obrigatório The request's payload, base64url-encoded JSON; empty for a POST-as-GET.
signature string Obrigatório The signature over the protected header and the payload, base64url-encoded, made with the account's key.

Respostas

StatusDescriçãoEsquemaTipo de conteúdo
200 The certificate and the authorities above it, PEM. application/pem-certificate-chain
400 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
403 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
404 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
422 The input was rejected; errors names each failure. ValidationProblem application/json
503 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
Qualquer outro status The request was refused. The problem's type names why, and its detail explains it for people to read. Problem application/json

400 An ACME error: its type is an urn:ietf:params:acme:error URN.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.

403 An ACME error: its type is an urn:ietf:params:acme:error URN.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.

404 An ACME error: its type is an urn:ietf:params:acme:error URN.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.

422 The input was rejected; errors names each failure.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.
errors InputErrors Obrigatório What is wrong with each refused value. Parameters come as a list, and body errors as a tree shaped like the body.

503 An ACME error: its type is an urn:ietf:params:acme:error URN.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.

Qualquer outro status: The request was refused. The problem's type names why, and its detail explains it for people to read.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.

Exemplo

curl -X POST 'https://dev.zanpki.com/organizations/{organizationId}/authorities/{authorityId}/acme/certificates/{certificateId}' \
  -H 'Content-Type: application/jose+json' \
  -d '{
    "protected": "<string>",
    "payload": "<string>",
    "signature": "<string>"
}'

Toda a documentação

0 instrução de banco de dados · 14 leituras do cache · 0.0 ms aguardando o banco de dados · 26,0 MiB de pico de memória
public.settingsSELECTdo cache
public.mesh_nodesSELECTdo cache
public.fqdnsSELECTdo cache
public.sitesSELECTdo cache
public.api_buildsSELECTdo cache
public.docs_guidesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.api_buildsSELECTdo cache
public.docs_guidesSELECTdo cache