Find tempalate name to which a certificate is associated with

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Find tempalate name to which a certificate is associated with

L0 Member

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.

1 REPLY 1

Cyber Elite
Cyber Elite

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

Help the community: Like helpful comments and mark solutions.
  • 334 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!