Domini, DNS, hosting ed e-mail da un unico fornitore.
Caratteristiche



Claude, Codex & co. manage DNS, domains and certificates directly, including DNS Doctor diagnostics.
This recipe demonstrates the same staged OV flow as the raw API recipe, but through certbro. The important difference is that certbro keeps the private key, CSR, and pending order state locally, prints the Console completion_url, and exits successfully instead of waiting forever for an order that still needs business data.
If certbro is not installed and configured yet, start with the general TLS automation with regfish certbro recipe first. This recipe assumes that certbro already works with your regfish API key and state file.
certbro already installed/etc/certbro/state.json/etc/certbro/example.comThese examples intentionally use certbro's default state path under /etc/certbro/state.json. For the example common name, certbro also derives the default output path as /etc/certbro/example.com. Add --state-file or --output-dir only if your installation uses different locations.
For OV or EV-style ordering, --org-id expects the public TLS organization id from the regfish TLS API, for example hdl_7K9QW3M2ZT8HJ. Do not pass an old numeric CA-side organization id.
To demonstrate the Console-completion path intentionally, start the OV order without --org-id. That lets certbro create the local key and CSR material, submit the technical order, and stop as soon as the TLS API reports that business completion is still required.
sudo certbro issue \
--name example-com \
--common-name example.com \
--dns-name www.example.com \
--product SecureSitecertbro validates the product against the live regfish product catalog first. For SecureSite, the TLS API can return a staged OV order with action_required=true.
If the order requires Console completion, certbro issue exits successfully and prints fields such as:
certificate_idpending_reasonpending_messagecompletion_urlAt the same time, certbro keeps the temporary order state locally under the certificate directory, typically below:
/etc/certbro/example.com/pending/That is why you should not create a replacement order manually. certbro already knows how to resume the same pending order later.
Open the completion_url printed by certbro. For a staged OV order, it points into the regfish Console on the same certificate ID.
The user then finishes the business step there:
This still belongs to the same order that certbro has already stored locally.
If the user is not logged in yet, the Console login flow should return them to the completion page afterwards.
After the Console step has been completed, do not run issue again. Resume the same pending order with:
sudo certbro renew --name example-comAt this point, certbro renew resumes the stored pending order, provisions DNS DCV automatically as soon as validation records become available, waits for issuance, downloads the certificate, and deploys the result into the same output directory.
If the order is still pending after a timeout, run the same renew command again. certbro continues monitoring the existing request instead of creating a duplicate order.
After successful completion, the stable deployment files are available under live/ and versioned snapshots under archive/.
Typical files are:
/etc/certbro/example.com/live/fullchain.pem/etc/certbro/example.com/live/cert.pem/etc/certbro/example.com/live/chain.pem/etc/certbro/example.com/live/privkey.pem/etc/certbro/example.com/live/request.csr.pem/etc/certbro/example.com/live/metadata.jsonYou can verify the deployed certificate quickly with:
openssl x509 -in /etc/certbro/example.com/live/cert.pem -noout -subject -issuer -datesIf you already know a usable public TLS organization id from GET /tls/organization, you can pass it up front:
sudo certbro issue \
--name example-com \
--common-name example.com \
--dns-name www.example.com \
--product SecureSite \
--org-id hdl_7K9QW3M2ZT8HJIf that organization is already usable for ordering, the TLS API may continue directly without returning a staged completion_url.
--org-id on purpose so the staged OV path becomes visiblepending/ state intact until certbro renew has finalized the ordercertbro renew --name ..., not with a second issuecompletion_url printed by certbro, not a hardcoded Console path--org-id is the clean shortcut to avoid the staged business step--org-id as a public hdl_... id, not as an integerThis workflow starts the OV order through certbro, hands the missing organization step off to the regfish Console, and then lets certbro finish the same order afterwards. That gives you the staged OV/business flow without dropping back to raw API calls or manual DCV scripting.
L'API DNS Regfish è un'ottima soluzione per gli sviluppatori che desiderano automatizzare domini e zone DNS. Entra a far parte della community e beneficia dell'automazione DNS. L'API DNS è disponibile gratuitamente per ogni cliente Regfish.