Get Certificates

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Returns a list of installed SSL certificates.

Since:5.4.0

Security: Requires an admin user

Usage: GET /api/system/security/certificates

Produces: application/json

[
 {
      "certificateAlias" : "<The Certificate Alias>", 
      "issuedTo" : "<The entity to whom the certificate was issued>",
      "issuedBy" : "<The issuing entity>", 
      "issuedOn" : "<ISO8601 (yyyy-MM-dd'T'HH:mm:ss.SSSZ)>",
      "validUntil" : "<ISO8601 (yyyy-MM-dd'T'HH:mm:ss.SSSZ)>",
      "fingerPrint" : "<The certificate's SHA256 fingerprint>"
 }
]

Sample Usage:

GET /api/system/security/certificates
 
[
  {
      "certificateAlias" : "example1", 
      "issuedTo" : "JFrog",
      "issuedBy" : "Some_CA", 
      "issuedOn" : "Sun May 01 2017 10:00:00 GMT +02:00 (UTC)",
      "validUntil" : "Sun May 01 2019 10:00:00 GMT +02:00 (UTC)",
      "fingerPrint" : "ab:cd:ef:gh"
  }, 
  {
      "certificateAlias" : "example2", 
      "issuedTo" : "Cool-Company",
      "issuedBy" : "Some_Other_CA", 
      "issuedOn" : "Sun May 01 2017 10:00:00 GMT +02:00 (UTC)",
      "validUntil" : "Sun May 01 2019 10:00:00 GMT +02:00 (UTC)",
      "fingerPrint" : "ab:cd:ef:gh"
  }
]