Search in this section
Page History
Instructions for the complete automation of the ordering process for S/MIME certificates. The product GlobalSign - PersonalSign Class 1 is used here as an example. S/MIME Certificates are certificates for the encryption and signing of Email. Currently the S/MIME products are offered by Globalsign.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Basics of the JSON and XML API
All important information for the use of the JSON and XML API you can find in the General API Basics and the XML API Basics and JSON API Basics. The specific SSL objects are documented here, the SSL tasks here.
Overview
FlowchartFlow chart
Task
Namesnames,
Codescodes and
Routesroutes
Task | Task |
---|
code | Route | |
---|---|---|
CertificateCreate | 400101 | POST /certificate |
SSLContactCreate | 400201 | POST /sslcontact |
CertificateInfo | 400104 | GET /certificate/$id |
PollInfo | 0905 | GET /poll |
PollConfirm | 0906 | PUT /poll/$id |
CertificatePrepareOrder | 400110 | POST /certiicate/prepareOrder |
Order
Preparationpreparation
Contact
Createcreate
To be able to order a S/MIME certificate, a technical and administrative contact is required. These must be created beforehand and can then be used for future orders. In case one or more contacts is already present, you can skip this step and use the contact for future tasks.
Example for
Contacte Createcontact create
SP Tabs group | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Certificate
Createcreate
With the CertificateCreate task you send the order to the system. You have to set certain values:
- Certificate Type = The attribute MAIL must be used for S/MIME certificates.
- Admin = ID of the administrative contact.
- Name = The name of the certificate. For S/MIME certificates, this is the email for which the certificate is used.
- Product = Value of the S/MIME certificate, for our example this is GLOBALSIGN_PERSONALSIGN_1
- First Name = First name
- Last Name = Last name
- Term = Desired certificate runtime. The possible runtimes depend on the certificate product.
- Password = Password to be used to download the S/MIME certificate from Globalsign.
- Organisational Unit = The responsible organizational unit, e.g. "marketing department".
- CSR = Value which indicates whether an own CSR is used. The XML tag <has_csr> must be set to true.
Example for certificate create
SP Tabs group | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
notifications
By using the CertificateCreate task a job is automatically generated which takes care of the certificate order. If the job was successful, the ID of the ordered certificate is returned. The system notification can be retrieved using the Polling and Push methods.
Inquiring
Certificate Informationcertificate information
The CertificateInfo task displays all the certificate details. The information can be inquired by sending the ID from the step Receiving Notifications.
Certificate info - example
SP Tabs group | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|