Dominios, DNS, hosting y correo de un solo proveedor.
Empresa



This recipe combines three typical operational tasks: listing the full certificate inventory, selecting relevant entries, and downloading the available artifacts in an automated way.
Start with the full list of certificates that belong to the authenticated account.
curl --request GET \
--url 'https://api.regfish.com/tls/certificate' \
--header 'x-api-key: YOUR_API_KEY'The most relevant fields for further processing are:
idcommon_namestatusproductcertificate_pem_availableNot every certificate can be downloaded right away. Define a filter first, for example only certificates with a PEM artifact already available.
{
"includeWhen": {
"certificate_pem_available": true
},
"downloadFormat": "pem"
}Before exporting, you can fetch individual certificate details again. That is useful if you want to evaluate more status information or provider metadata.
curl --request GET \
--url 'https://api.regfish.com/tls/certificate/7K9QW3M2ZT8HJ' \
--header 'x-api-key: YOUR_API_KEY'For many deployment systems, the PEM artifact as plain text is enough.
curl --request GET \
--url 'https://api.regfish.com/tls/certificate/7K9QW3M2ZT8HJ/download/pem' \
--header 'x-api-key: YOUR_API_KEY' \
--output 'certificate-7K9QW3M2ZT8HJ.pem'If a downstream system works better with bundles, you can request the ZIP artifact instead.
curl --request GET \
--url 'https://api.regfish.com/tls/certificate/7K9QW3M2ZT8HJ/download/zip' \
--header 'x-api-key: YOUR_API_KEY' \
--output 'certificate-7K9QW3M2ZT8HJ.zip'In production setups, list, filter, and download are usually combined into a repeatable batch process.
for id in 7K9QW3M2ZT8HJ 8R2XC7M4TH9PK 6Z3PH8T2MX7CR; do
curl --request GET \
--url "https://api.regfish.com/tls/certificate/${id}/download/pem" \
--header 'x-api-key: YOUR_API_KEY' \
--output "certificate-${id}.pem"
doneThis turns the TLS inventory into a structured export workflow. That is useful for audits, deployments, backups, and any centralized certificate management process.
La DNS API de regfish es una gran solucion para desarrolladores que quieren automatizar dominios y zonas DNS. Sumate a la comunidad y aprovecha las ventajas de la automatizacion DNS. La DNS API esta disponible gratis para todos los clientes de regfish.