We have added few certificates in Layer 7 policy manager in Manage Certificates.Is it possible to see these certificates in our gateway(i.e. in ssg) not in policy manager.
Ideally we wish to write a script for certificates expiry date.So looking for where these are stored in ssg once we added in policy manager.
I believe these are stored as part of the trused_cert table in the SSG database. It it not recommended to interact directly with the database in this manner. You may wish to review the below article regarding email alerts for expiring certificates.
Generating email alerts for expiring trusted certificates
Knowledge Base Articles
You can also grab information through the Restman service for certificates. Excerpt from the Restman online gateway documentations:
Returns a list of certificates. Can optionally sort the resulting list in ascending or descending order. Other params given will be used as search values.
Returns certificates with name "MyCertificate".
If a parameter is not a valid search value a bad request error will be returned.
Director, CA Support