curl -X POST "https://api.scanova.io/custom-domain/42/certificate-request/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"organization": "Example Inc",
"organizational_unit": "IT",
"country": "us",
"state": "CA",
"locality": "San Francisco",
"email": "ssl@example.com"
}'
{
"id": 5,
"organization": "Example Inc",
"organizational_unit": "IT",
"country": "US",
"state": "CA",
"locality": "San Francisco",
"email": "ssl@example.com",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC...\n-----END CERTIFICATE REQUEST-----",
"created": "2026-09-08T09:00:00Z"
}
Domaines personnalisés
Créer une demande de certificat SSL
POST /custom-domain//certificate-request/
POST
/
custom-domain
/
{pk}
/
certificate-request
/
curl -X POST "https://api.scanova.io/custom-domain/42/certificate-request/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"organization": "Example Inc",
"organizational_unit": "IT",
"country": "us",
"state": "CA",
"locality": "San Francisco",
"email": "ssl@example.com"
}'
{
"id": 5,
"organization": "Example Inc",
"organizational_unit": "IT",
"country": "US",
"state": "CA",
"locality": "San Francisco",
"email": "ssl@example.com",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC...\n-----END CERTIFICATE REQUEST-----",
"created": "2026-09-08T09:00:00Z"
}
Génère une nouvelle demande de signature de certificat (CSR) SSL pour un domaine, sur l’hôte de l’API de gestion (
Une clé privée et la CSR sont générées côté serveur — la clé privée n’est jamais renvoyée par un endpoint ni acceptée en entrée, seul le texte de la CSR revient. Soumettez la
api.scanova.io), authentifié avec votre clé d’API de gestion brute.
POST https://api.scanova.io/custom-domain/{pk}/certificate-request/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
Réservé à l’offre Enterprise. Nécessite le quota
CUSTOM_DOMAIN_CUSTOM_SSL, accordé manuellement — aucun plan en libre-service ne l’inclut.integer
requis
Le
id du domaine.string
requis
Nom de l’organisation pour le sujet du certificat.
string
requis
Unité organisationnelle pour le sujet du certificat.
string
requis
Code pays ISO à 2 lettres — mis en majuscules automatiquement ; rejeté s’il ne s’agit pas exactement de 2 caractères alphabétiques.
string
requis
État ou province.
string
requis
Ville ou localité.
string
requis
E-mail de contact pour le sujet du certificat.
curl -X POST "https://api.scanova.io/custom-domain/42/certificate-request/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"organization": "Example Inc",
"organizational_unit": "IT",
"country": "us",
"state": "CA",
"locality": "San Francisco",
"email": "ssl@example.com"
}'
{
"id": 5,
"organization": "Example Inc",
"organizational_unit": "IT",
"country": "US",
"state": "CA",
"locality": "San Francisco",
"email": "ssl@example.com",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC...\n-----END CERTIFICATE REQUEST-----",
"created": "2026-09-08T09:00:00Z"
}
csr renvoyée à votre autorité de certification, puis récupérez le certificat émis via Téléverser un certificat SSL.
400 si country n’est pas exactement 2 caractères alphabétiques. 403 si le compte n’a pas le quota CUSTOM_DOMAIN_CUSTOM_SSL.
Voir aussi
- Obtenir la dernière demande de certificat SSL — reprendre un flux en cours.
- Téléverser un certificat SSL — l’étape suivante une fois que votre AC émet le certificat.
- Présentation de l’API de gestion — le schéma d’authentification et les règles de quota applicables à cet endpoint.
Autorisations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Paramètres de chemin
Réponse
CSR created.
Cette page vous a-t-elle été utile ?