SSL certificate command.
Inputs | Description | Type | Regular expression | Mandatory |
CSR | The CSR of the certificate to be ordered | string | Yes | |
productName | The product of the certificate to be ordered | AlphaSSL DomainSSL WildcardSSL OrganizationSSL BusinessSSL |
Yes | |
period | The period of validity of the certificate to be ordered | 1 2 3 |
Yes | |
validationMethod | The validation method of the certificate to be ordered | E-mail DNS |
No (Default email) | |
SHA | The encryption algorithm for the certificate to be ordered | SHA1 SHA2 |
No (Default SHA2) | |
contact type= »admin » | Administrative contact handle | string | Yes | |
contact type= »billing » | Billing contact handle | string | Yes | |
contact type= »contact1″ | Handle of the first contact | string | Yes | |
contact type= »contact2″ | Handle of the second contact | string | Yes, for AlphaSSL, DomainSSL et WildcardSSL certificates | |
contact type= »organization » | Organization contact handle | string | Yes, for OrganizationSSL et BusinessSSL certificates | |
contact type= »requestor » | Applicant Contact Handle | string | Yes, for BusinessSSL certificates | |
contact type= »approvedSigner » | Approved Signature Contact Handle | string | Yes, for BusinessSSL certificates | |
organizationCategory | Organization type | PO GE BE |
PO: Private Organization GE: Government Entity BE: Business Entity |
Yes, for BusinessSSL certificates |
requestorOrganizationUnit | Applicant contact service within the organization | string | Yes, for BusinessSSL certificates | |
requestorFunction | The Applicant contact function within the organization | string | Yes, for BusinessSSL certificates | |
authorizedSignerFunction | The function of the Signatory contact within the organization | string | Yes, for BusinessSSL certificates |
Outputs | Description | Possible values |
status | Order status | PENDING |
Error code
Error code | Parameter | Message | Value | comment |
706 | Unexpected error | Error : … | Unexpected error. Please contact Namebay for more information. |
Command
<api> […] <command> <ssl_order> <CSR>…</CSR> <productName>…</productName> <period>…</period> <validationMethod>…</validationMethod> <SHA>…</SHA> <contact type="admin">…</contact> <contact type="billing">…</contact> <contact type="contact1">…</contcat> <contact type="contact2">…</contact> <contact type="organization">…</contact> <contact type="requestor">…</contact> <contact type="approver">…</contact> <contact type="approvedSigner">…</contact> <organizationCategory>…</organizationCategory> <requestorOrganizationUnit>…</requestorOrganizationUnit> <requestorFunction>…</requestorFunction> <authorizedSignerFunction>…</authorizedSignerFunction> </ssl_order> </command> </api> |
Response
<?xml version="1.0" encoding="utf-8"?> <api> <response> <trID>…</trID> <result code="…"> <msg>…</msg> </result> </response> <resData> <ssl_orderData> <status>…</status> </ssl_orderData> </resData> </api> |