Get SSL Objects

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Presents all the defined SSL objects under the subscription.

Since: August 13, 2023

Security: Requires a valid tokenGenerate a Token in MyJFrog

Usage: GET 'https://my.jfrog.com/api/jmis/v1/ssl \

Content-Type: application/json

Produces: application/json

Sample Usage:

curl --location --request GET 'https://my.jfrog.com/api/jmis/v1/ssl \
--header 'Authorization: Bearer ' \

Sample Response:

Response
200
OK
Content-Type: application/json
{
    "ssl_certificates": [
        {
		"expiry": 1717174432000,
		"certificate_name": "test_certificate",
		"certificate_id": "47ec4ba1-35c2-4075-91e4-ad257e2e3184",
		"certificate_body": "-----BEGIN CERTIFICATE-----\nMIIETzCCAzegAwIBAgIGAYhm2M00MA0GCSqGSIb3DQEBCwUAMGkxGTAXBgNVBAMM\nEGludGVybWVkaWF0ZUNlcnQxEjAQBgNVBAoMCUFjbWUgSW5jLjELMAkGA1UECwwC\n-----END CERTIFICATE-----\n",
"certificate_chain": "-----BEGIN CERTIFICATE-----\nMIIETzCCAzegAwIBAgIGAYhm2M00MA0GCSqGSIb3DQEBCwUAMGkxGTAXBgNVBAMM\nEGludGVybWVkaWF0ZUNlcnQxEjAQBgNVBAoMCUFjbWUgSW5jLjELMAkGA1UECwwC\n-----END CERTIFICATE-----\n",
"certificate_status": "valid",
"domains_under_certificate": [
    {
     	"url": "test.mydomain.com",
       "type": "platform_base_url",
       "server_name": "naorselausw2nb121"
    }
]
        },
        {
		"expiry": 1714563566000,
		"certificate_name": "example_certificate",
		"certificate_id": "47ec4ba1-35c2-4075-91e4-ad257e2e3184",
		"certificate_body": "-----BEGIN CERTIFICATE-----\nMIIETzCCAzegAwIBAgIGAYhm2M00MA0GCSqGSIb3DQEBCwUAMGkxGTAXBgNVBAMM\nEGludGVybWVkaWF0ZUNlcnQxEjAQBgNVBAoMCUFjbWUgSW5jLjELMAkGA1UECwwC\n-----END CERTIFICATE-----\n",
"certificate_chain": "-----BEGIN CERTIFICATE-----\nMIIETzCCAzegAwIBAgIGAYhm2M00MA0GCSqGSIb3DQEBCwUAMGkxGTAXBgNVBAMM\nEGludGVybWVkaWF0ZUNlcnQxEjAQBgNVBAoMCUFjbWUgSW5jLjELMAkGA1UECwwC\n-----END CERTIFICATE-----\n",
"certificate_status": "valid",
"domains_under_certificate": [
    {
     	"url": "*.mydomain.com",
       "type": "docker_sub_domain",
       "server_name": "naorselausw3nb121"
    }
]
        },
    ]
}

Response status codes:

200: Success

400: Failed

403: Account is not permitted for this action

401: Unauthorized user