- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-31-2024 04:31 PM
Hi All
Can any one please tell me the api code or curl command to find tempalate names to which a certificate is associated with. Generally we do this via global search option but can't find anything to do on cli or via api.
09-02-2024 05:42 AM - edited 09-02-2024 05:59 AM
Hi @Mohit1991 ,
If you have a unique name for your certificate, you can easily find it in the CLI with the following steps where "unique-name" should be replaced by the name of your certificate.
admin@yourfirewall> set cli config-output-format set
admin@yourfirewall> configure
Entering configuration mode
[edit]
admin@yourfirewall# show | match unique-name
One time I got certificate errors referencing a certificate that could not be found in the GUI or CLI. I had to export and search the XML. Once I deleted the XML <> and </> sections where the certificate was configured, I imported, loaded, and committed the edited XML configuration and the errors were gone. The XML will always show the configuration where on rare occasions the GUI and CLI will not. The XML is the source.
Thanks,
Tom
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!