Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 470
  • Last Modified:

Monitor certificate renewal

In our domain we have a Windows 2003 SP2 Enterprise Certificate Server, our domain controllers have a policy so that the auto renew a certificate from the certificate server. We have an application that uses secure LDAP (ldap/ssl) to communicate with these domain controllers,  so we need to reboot the servers after the 30 day befor expiration window in which they get the new SSL and before the old one expires. What is a good way to monitor when they get a new certificate, is there an event log entry or something we can monitor?
0
markpalinux
Asked:
markpalinux
  • 2
1 Solution
 
AmericomCommented:
Logon to your Win2k3 certificate server, and run the Certification Authority console, there you should see the certificate server, under there when you click on the "issued certificates", you should see all the info as to when the certificate was issued etc.
0
 
ParanormasticCryptographic EngineerCommented:
You can also check out this script that you can run - you might want to modify it for your own purposes for the appropriate certificate type(s):
http://www.microsoft.com/technet/scriptcenter/solutions/camon.mspx

Building on the last suggestion, that may be easier if you're not into modifying scripts.  Set a calendar reminder to run and then you can check the CA and you can filter certificates that expire after a specified date and before another specified date.  You can export this to .csv as well if you want a spreadsheet.
0
 
markpalinuxAuthor Commented:

I have used this bash script under cygwin , but never saw that script you posted to before.

http://prefetch.net/code/ssl-cert-check
# Program: SSL Certificate Check <ssl-cert-check>
# Source code home: http://prefetch.net/code/ssl-cert-check
# Author: Matty < matty91 at gmail dot com >


Thanks for you help.
0
 
markpalinuxAuthor Commented:

Thanks for pointing out that script to me.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now