Description: Renews an SSL certificate with the defined domains associated to JPD’s under the subscription.
Since: August 13, 2023
Security: Requires a valid token
Usage: POST https://my.jfrog.com/api/jmis/v1/ssl/renew
Content-Type: application/json
Produces: application/json
Sample Usage:
curl --location 'https://my.jfrog.com/api/jmis/v1/ssl/renew' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ' \ --data '{ "certificate_id": "cert-id-123", "certificate_name": "my-cert-name", "certificate_body": "-----BEGIN CERTIFICATE-----\nMIIETzCCAzegAwIBAgIGAYhm2M00MA0GCSqGSIb3DQEBCwUAMGkxGTAXBgNVBAMM\nEGludGVybWVkaWF0ZUNlcnQxEjAQBgNVBAoMCUFjbWUgSW5jLjELMAkGA1UECwwC\n-----END CERTIFICATE-----\n", "certificate_chain": "-----BEGIN CERTIFICATE-----\nMIIETzCCAzegAwIBAgIGAYhm2M00MA0GCSqGSIb3DQEBCwUAMGkxGTAXBgNVBAMM\nEGludGVybWVkaWF0ZUNlcnQxEjAQBgNVBAoMCUFjbWUgSW5jLjELMAkGA1UECwwC\n-----END CERTIFICATE-----\n", "certificate_private_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAqXrUanF4BBsrqqgqjlylYmMMMsmghWWwNrEgIP8TXkOkCaiA\n-----END RSA PRIVATE KEY-----\n", "domains_under_certificate": [ { "url": "servername01.com", "server_name": "serverName01", "type": "platform_base_url" }, "url": "servername02.com", "server_name": "serverName02", "type": "platform_base_url" } ] }'
Sample Response when domains under the new SSL certificate match the previous SSL certificate:
200 OK Content-Type: application/json { "status": "in_progress", "message": "successfully submitted" }
Sample Response when domains under the new SSL certificate do not match the previous SSL certificate:
This might happen when the new SSL certificate does not include the previous domains, which were configured using the previous certificate.
200 OK Content-Type: application/json { "status": "in_progress", "message": "successfully submitted. Please notice there are uncovered domains under the new certificate" }
Response status codes:
200: Success/ Uncovered domains under certificate
400: Failed
409: Another action is in progress (try again in a few minutes)
403: Account is not permitted for this action
401: Unauthorized user