# how can I use ansible openssl\_certificate module to gather facts about installed ssl certificates on application servers?

**URL:** <https://forum.ansible.com/t/how-can-i-use-ansible-openssl-certificate-module-to-gather-facts-about-installed-ssl-certificates-on-application-servers/29855>\
**Category:** Ansible Project\
**Created:** [March 8, 2019, 10:41pm UTC](https://forum.ansible.com/t/how-can-i-use-ansible-openssl-certificate-module-to-gather-facts-about-installed-ssl-certificates-on-application-servers/29855 "2019-03-08T22:41:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Yu](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@Jason\_Yu](https://forum.ansible.com/u/Jason_Yu)\
**Post date:** [March 8, 2019, 10:41pm UTC](https://forum.ansible.com/t/how-can-i-use-ansible-openssl-certificate-module-to-gather-facts-about-installed-ssl-certificates-on-application-servers/29855/1 "2019-03-08T22:41:44Z")

</div>

Dear ansible friends here:

I got a request to collect the facts like expiration date, issuer for each ssl certificates on linux servers.

I plan to use openssl\_certificate module and use the return values to pop out the records into csv file. But the example doesn’t list how to gather all the facts, can anyone here help me with this ?

if this module is not the best module, which one is good for me. I got a Bach script to do it,but could like to use ansiable to run on multiple servers.

thanks.

jason
