Certificate
TLS/SSL certificates are used to secure network communications and prove the identity of websites on the Internet and resources on private networks. The certificates and their associated private keys are provided in PEM (Privacy Enhanced Mail) format.
This tag groups all operations for certificate.
This endpoint enables retrieving all Certificate using pagination and optional filters.
The first element (of the total list of elements) to include in the response. Use together with limit for pagination.
0
Example: 0
The maximum number of elements to return. Use together with offset for pagination.
100
Example: 100
Filter by the common name (DNS).
www.example.com
Filter by autoCertificateID.
b471cd03-ef51-52c5-91a5-49195b0a04d4
GET /certificates HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "e7057759-25b4-5a26-b2f2-4c41e61f1044",
"type": "collection",
"href": "/certificates",
"items": [
{
"id": "cbee81a3-9389-57ba-bc50-393adcfca141",
"type": "certificate",
"href": "/certificates/cbee81a3-9389-57ba-bc50-393adcfca141",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"autoCertificate": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141",
"expired": false,
"notBefore": "2021-12-31T23:59:59Z",
"notAfter": "2022-12-31T23:59:59Z",
"serialNumber": "33:00:00:04:5F:2B:0D:65:9D:71:72:3E:7D:00:00:00:00:04:5F",
"commonName": "www.example.com",
"subjectAlternativeNames": [
"app.example.com"
]
},
"properties": {
"name": "My Certificate",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIE5TCCAs2gAwIBAgIBATANBgkqhkiG9w0BAQsFADA2MQswCQYDVQQGEwJSTzEK\n-----END CERTIFICATE-----\n",
"certificateChain": "-----BEGIN CERTIFICATE-----\nMIIDoTCCAokCFDrAUWffdxWJVz2Axl9lp/4xiUteMA0GCSqGSIb3DQEBCwUAMIGG\n-----END CERTIFICATE-----\n"
}
}
],
"offset": 0,
"limit": 42,
"_links": {
"prev": "http://PREVIOUS-PAGE-URI",
"self": "http://THIS-PAGE-URI",
"next": "http://NEXT-PAGE-URI"
}
}
Creates a new Certificate.
The full Certificate needs to be provided to create the object. Optional data will be filled with defaults or left empty.
Metadata
POST /certificates HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 483
{
"metadata": {},
"properties": {
"name": "My Certificate",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIE5TCCAs2gAwIBAgIBATANBgkqhkiG9w0BAQsFADA2MQswCQYDVQQGEwJSTzEK\n-----END CERTIFICATE-----\n",
"certificateChain": "-----BEGIN CERTIFICATE-----\nMIIDoTCCAokCFDrAUWffdxWJVz2Axl9lp/4xiUteMA0GCSqGSIb3DQEBCwUAMIGG\n-----END CERTIFICATE-----\n",
"privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIJKQIBAAKCAgEAzDehfqWBr+9q0pxwCDDRph7QSPiMbkDGaGKc+Fd2h3doT8Li\n-----END RSA PRIVATE KEY-----\n"
}
}
{
"id": "cbee81a3-9389-57ba-bc50-393adcfca141",
"type": "certificate",
"href": "/certificates/cbee81a3-9389-57ba-bc50-393adcfca141",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"autoCertificate": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141",
"expired": false,
"notBefore": "2021-12-31T23:59:59Z",
"notAfter": "2022-12-31T23:59:59Z",
"serialNumber": "33:00:00:04:5F:2B:0D:65:9D:71:72:3E:7D:00:00:00:00:04:5F",
"commonName": "www.example.com",
"subjectAlternativeNames": [
"app.example.com"
]
},
"properties": {
"name": "My Certificate",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIE5TCCAs2gAwIBAgIBATANBgkqhkiG9w0BAQsFADA2MQswCQYDVQQGEwJSTzEK\n-----END CERTIFICATE-----\n",
"certificateChain": "-----BEGIN CERTIFICATE-----\nMIIDoTCCAokCFDrAUWffdxWJVz2Axl9lp/4xiUteMA0GCSqGSIb3DQEBCwUAMIGG\n-----END CERTIFICATE-----\n"
}
}
Returns the Certificate by ID.
The ID (UUID) of the Certificate.
cbee81a3-9389-57ba-bc50-393adcfca141
GET /certificates/{certificateId} HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "cbee81a3-9389-57ba-bc50-393adcfca141",
"type": "certificate",
"href": "/certificates/cbee81a3-9389-57ba-bc50-393adcfca141",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"autoCertificate": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141",
"expired": false,
"notBefore": "2021-12-31T23:59:59Z",
"notAfter": "2022-12-31T23:59:59Z",
"serialNumber": "33:00:00:04:5F:2B:0D:65:9D:71:72:3E:7D:00:00:00:00:04:5F",
"commonName": "www.example.com",
"subjectAlternativeNames": [
"app.example.com"
]
},
"properties": {
"name": "My Certificate",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIE5TCCAs2gAwIBAgIBATANBgkqhkiG9w0BAQsFADA2MQswCQYDVQQGEwJSTzEK\n-----END CERTIFICATE-----\n",
"certificateChain": "-----BEGIN CERTIFICATE-----\nMIIDoTCCAokCFDrAUWffdxWJVz2Axl9lp/4xiUteMA0GCSqGSIb3DQEBCwUAMIGG\n-----END CERTIFICATE-----\n"
}
}
Deletes the specified Certificate.
The ID (UUID) of the Certificate.
cbee81a3-9389-57ba-bc50-393adcfca141
DELETE /certificates/{certificateId} HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
No content
Changes Certificate with the provided ID. Values provides will replace the existing data.
The ID (UUID) of the Certificate.
cbee81a3-9389-57ba-bc50-393adcfca141
Metadata
PATCH /certificates/{certificateId} HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"metadata": {},
"properties": {
"name": "My name"
}
}
{
"id": "cbee81a3-9389-57ba-bc50-393adcfca141",
"type": "certificate",
"href": "/certificates/cbee81a3-9389-57ba-bc50-393adcfca141",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"autoCertificate": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141",
"expired": false,
"notBefore": "2021-12-31T23:59:59Z",
"notAfter": "2022-12-31T23:59:59Z",
"serialNumber": "33:00:00:04:5F:2B:0D:65:9D:71:72:3E:7D:00:00:00:00:04:5F",
"commonName": "www.example.com",
"subjectAlternativeNames": [
"app.example.com"
]
},
"properties": {
"name": "My Certificate",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIE5TCCAs2gAwIBAgIBATANBgkqhkiG9w0BAQsFADA2MQswCQYDVQQGEwJSTzEK\n-----END CERTIFICATE-----\n",
"certificateChain": "-----BEGIN CERTIFICATE-----\nMIIDoTCCAokCFDrAUWffdxWJVz2Axl9lp/4xiUteMA0GCSqGSIb3DQEBCwUAMIGG\n-----END CERTIFICATE-----\n"
}
}
Was this helpful?