Import certificates
Use this workflow to import existing certificates into a certificate management policy.
This feature is available for certificate management policies that are configured for certificate issuance only and use the certificate management model.
Before you begin
Make sure the following prerequisites are met:
A certificate management policy has been created
While creating the certificate management policy, you have selected the following options:
Policy will be used for certificate issuance only. Requires an Essentials license under the certificate management model.
Batch certificate request through portal and REST API under the Certificate management methods.
The certificates you want to import are in
PEM(.pem) format
If you have not yet created a certificate management policy, see Create a certificate management policy.
In the Device Trust Manager menu, go to Jobs.
Select New job > Import certificates.
On the General settings page, provide a name for the batch job, and optionally, a Description.
Select Next.
On the Certificate import request page, select the Certificate management policy.
Select Next.
On the Batch request options page, upload a zip file that contains the certificate you want to import.
Nota
Only certificates in
.pemformat are supported.Select Submit batch job request.
To see the imported certificates, go to Jobs > Import certificates.
Alternatively, you can also use the API endpoint to import your certificates.
The following is a sample CURL example for creating an import job request:
curl --location 'https://demo.one.digicert.com/devicetrustmanager/certificate-batch-service/api/v1/jobs/certificate-import' \
--header 'x-api-key: ••••••' \
--form 'name="Certificate import name"' \
--form 'description="Certificate import description"' \
--form 'certificate_policy_id="IOT_12df8d31-04c4-47f5-b59a-7833e6bde354"' \
--form 'data=@"{path-to-zip}"'