Forum Discussion
MickeyM_135861
Feb 18, 2015Nimbostratus
Check bundle certificate expiration date
Hi,
As many of you, I have to create a script to check the expiration date of our certificates (excepting the ones used for our webservers for which the CA send us an alarm).
Using OpenSSL I can...
Michael_Jenkins
Feb 20, 2015Cirrostratus
While it's not as simple as an openssl command, I did find this site that was of use in trying to do this. It requires creating and executing a perl script to splt the bundle and run openssl on each certificate in there.
I modified the file to output only what was necessary (expiration dates). So basically, I just changed
print 'echo "$thisfile" | openssl x509 -noout -text';
to print 'echo "$thisfile" | openssl x509 -noout -subject -dates';
Works pretty well for me.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects