Get Root Certificate

JFrog REST APIs

ft:sourceType
Paligo

Description: Get public Root Certificate

Security:

  • Prior to release 7.12.0: Requires an admin user (basic credentials only). Requires execution from access localhost.

  • From release 7.12.0: Requires a valid admin-scoped token. The API no longer supports basic authentication.

Usage: GET /api/v1/cert/root

Produces: text/plain

Query parameter (optional):?formatted=true -returns the certificate in a formatted representation (prefix, suffix and alignment)

Sample usage:

curl -H "Authorization: Bearer <Token>" http://localhost:8082/access/api/v1/cert/root
or
curl -H "Authorization: Bearer <Token>" http://localhost:8082/access/api/v1/cert/root?formatted=true

Response Codes: 200 successful