Submit CSR

Description

Submit CSR for an SSL.


Parameters

Name Data Type Status Description
auth-id Integer  Required Authentication parameter 
auth-password String  Required Authentication parameter 
ssl-id Integer Required SSL ID. You can see this ID with the method List certificates
mail String Required E-mail address of the owner 
csr String Required Generated CSR key 

Return: Array with submission status and description.


Errors

When the authentication of API user is not correct, any API request will fail with the following status and statusDescription:

{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}

If you have entered an invalid ID for SSL Certificate, the following status will be returned:

{"status":"Failed","statusDescription":"Missing SSL certificate"}

If you have entered an invalid verification email address, the following status will be returned:

{"status":"Failed","statusDescription":"Invalid field: Verification mail"}

If the entered CSR is invalid, the following status will be returned:

{"status":"Failed","statusDescription":"Invalid field: CSR"}

Note: These are example errors in JSON format, and these are not the only errors that can be displayed.


Example

URL JSON: https://api.cloudns.net/ssl/submit-csr.json
POST/GET: auth-id=0&auth-password=password&ssl-id=0&mail=admin@domain.com&csr=-----BEGIN CERTIFICATE REQUEST-----.......-----END CERTIFICATE REQUEST-----
POST/GET: sub-auth-id=0&auth-password=password&ssl-id=0&mail=admin@domain.com&csr=-----BEGIN CERTIFICATE REQUEST-----.......-----END CERTIFICATE REQUEST-----

URL XML: https://api.cloudns.net/ssl/submit-csr.xml
POST/GET: auth-id=0&auth-password=password&ssl-id=0&mail=admin@domain.com&csr=-----BEGIN CERTIFICATE REQUEST-----.......-----END CERTIFICATE REQUEST-----
POST/GET: sub-auth-id=0&auth-password=password&ssl-id=0&mail=admin@domain.com&csr=-----BEGIN CERTIFICATE REQUEST-----.......-----END CERTIFICATE REQUEST-----


Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more