sidxzx
Mar 25, 2020Nimbostratus
Get list of all certificates and their correspondantes keys through the REST API (or cli) in BIG-IP
Hello,
Is it possible to get all certificates and their correspondantes keys with an api call, i've tried :
curl -k -u admin:admin -H "Content-Type: application/json" -X GET https://big-ip/mgmt/tm/sys/file/ssl-cert
but it gives me info about the certs and not their keys.
Same with:
tmsh list sys file ssl-cert all
No information about where to find the key.
However, in the GUI I can see in System> Certificate management > Traffic Certificate Management > SSL Certificate List information about the certificates, its key and the CSR. So is there a way to get all of this information through the REST API ?