function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
David Torres 15David Torres 15 

Get .crt file through Tooling API

I need to get the certificate, I am using :

/services/data/v43.0/tooling/sobjects/Certificate/{objectId}/CertificateChain

Using the REST method above, I do get a body nevertheless I am trying to encode it to have exactly the same content when downloading it from the UI. any suggestions will be apreciaate it.
Eduardo Offermann PalmaEduardo Offermann Palma
Hola David, pudiste finalmente obtener el certificado publico a través de la API tooling o metadata? Te agradeceria mucho que me pudieses ayudar.
Smith543 ThomasSmith543 Thomas
The Tooling API allows developers to access the Salesforce Metadata API programmatically. With the Tooling API, developers can easily retrieve a .crt file, which is a certificate file used to identify a secure web server. Using the Tooling API in yesmovies app download (https://techgainz.com/yesmovies/), developers can authenticate with the Salesforce Metadata API, retrieve the .crt file, and use it to create an SSL connection with a Salesforce org. This provides developers with a secure connection to the Salesforce Metadata API, ensuring that all data is transmitted securely.