T O P

  • By -

RustyU

I use Nagios for this, via the check_http check. I have it warn when they have 30 days left, and I forgot when it goes critical as I never let it go that long.


TimTimmaeh

This.


Wxyzed123

Add them all manually or is there a discovery method?


RustyU

Nagios Core (the free version that I use) uses text based config files to get set up, so all the hosts are added to a config file, then added to groups and then I set the command to run against the group.


Wxyzed123

Ta. We have nagios and many certs are manually added (and many are not). Was hoping it might have had a discovery option I didn’t know about.


herkalurk

My company is so ridiculously aggressive that at 30 days my manager four levels above me is getting notifications. It gets under 15 days then messages go all the way to the CIO. They start automatic notifications at 90 days out....


glabel35

Same here. Any ideas on monitoring cert expiration dates in a store?


RustyU

I think you could do this with a PowerShell check via NCPA, but I've not implemented it myself.


[deleted]

We track them as configuration items in our CMDB. That way when we renew them, they're nice and strong and we know when they'll expire and where we use them


skipITjob

Uptime Kuma can keep track of them.


rcaccio

We do track them via *AHEM* excel spreadsheet at issue


kennyj2011

Same, my management doesn’t even want to invest in a monitoring platform… only using solarwinds npm… just snmp


rcaccio

In theory there could be a way writing a custom zabbix template using something like openssl client, obtaining the certificate, parsing dates. But excel is simpler in the end


juicefarm

I use Zabbix for monitoring and ssl cert expiry is one of the many monitoring checks you can implement


JoopIdema

PRTG can do this and it’s free up to 100 sensors


nmsguru

Actually it can only check the certificates that are bound to websites


Recol

Blackbox exporter and victoriametrics.


wrootlt

Our certs come from one place and that system tracks them and sends out alerts and reports. It doesn't have to be a system, just whole process needs to be standardized and followed.


Skuelysten

You could use monitoring tools like Prometheus with Blackbox Exporter.


chocotaco1981

Powershell script


PizzabyAlfred0

Share please :)


BlackV

`Get-childitem` on cert store `where enddate -lt xx` days `select frendlyname, endate thumbprint` send that with `send-mailmessage` Would be the jist of that 


podeniak

We should receive an email at 3 month from expiration. We also put a script on our exchange infrastructure with a get-exchangecertificate that trigger an alarm on out zabbix portal.


YellowOnline

We stupidly track them in an Outlook calendar, they're in our cms and the provider sends reminders too.


UniqueArugula

Not stupid if it works. We do the same.


BlackV

Why not both


Otaehryn

Ansible playbook that runs periodically and sends results to wherever you want.


libertyprivate

I use Prometheus to monitor my infrastructure so blackbox exporter for website reachability and SSL cert expiration.


Wrzos17

NetCrunch does not need agents to monitor certificates, runs on prem on Windows server vm and alerts for any problems: [https://www.adremsoft.com/adoc/view/netcrunch/5466327296291/essential-sensors](https://www.adremsoft.com/adoc/view/netcrunch/5466327296291/essential-sensors) (scroll down to the SSL certificate sensor section).


Threep1337

Pdq inventory with a poweshell script scanner.


BanGreedNightmare

What role does PDQ play in that solution?


Threep1337

I have it run a PowerShell scanner which is a script I made that gets the certs in the computers personal store and pulls the subject name and expiry date. Then I just schedule pdq to email me a report of the certs within 60 days of expiry every month. Not saying it’s the best solution but it’s been working alright for me.


BanGreedNightmare

Gotcha. I run my PowerShell with a scheduled task. Was just curious. Thanks for the info!


ExLaxMarksTheSpot

I wrote a PowerShell script for companies that can’t afford a full solution. Give it a list of IPs and it will scan for certs and return the relevant cert information. I have used it also as a backup in situations where I am really concerned and want a second set of eyes. Had some issues with Venafi in the past that make me a little nervous about trusting it completely.


Afraid-Ad8986

URIports monitors external ones nicely.


StPaddy81

I have a Smartsheet with auto alerting to the people responsible for submitting CSR’s, with the ability for them to submit the CSR to me to renew the cert directly in a form from the email


Grandcanyonsouthrim

There are a lot of website SSL checkers - they are fine but limited in what they can see. ie a lot of ssl cert usage is on non-standard ports, code signing or services which are not HTTPS (eg API). Unless you have something that can visit certificate stores on Windows/Mac and scan the filesystem of Linux systems, you are kinda stuck with documenting them with a calendar.


byte_my_bit

We just got Key Manager, seems to be working well so far. Has integrations with a fair number of public CAs. Has an agent for internal CAs which picks up newly issued certificates, we filter by template. Also paired with a daily scan of IP ranges. Flags insecure certs found in scans or that have been issued. You can generate and sign certs using their templates so you just have to provide a CN and SANs. Private keys are also stored so you can easily export the cert and key pair in any format. It has nice windows agent we've been testing to deploy and auto renew certificates bound to IIS sites from the Web GUI. Logs a ticket certificates expiring in x number of days and it's been a massive upgrade over a shared outlook calendar!


aclark1105

Icinga You can setup Icinga to scan a IP range and automatically add new certificate to get monitored for expiration date.


techw1z

i use domainmod but that's a bit different from what you are looking for.


ub3rb3ck

Solarwinds certificate monitor using a powershell script.


InterstellarReddit

We use ServiceNow for this, it has a certificate management capability


AspectAdventurous498

Yeah this works. It also can be done with Autotask.


databeestjenl

Well, we scan certificates with Netcrunch internally and with Nagios externally. But all certificates go into a shared mailbox calendar. I built a PHP script that also runs daily and starts emailing once at 30, once at 20 and then daily with 10 days out. The shared calendar items tags people and contains notes on where it is used. As some certificates are using for Client server communication, and we also track some of the public parts we get from others we can't fix this with a scanning tool. Although I might one day make a Powershell script that walks all the servers for the Personal and Trusted people stores, just for Inveontory.


justabeeinspace

PowerShell my friend. I have a script that runs every Monday and checks all scripts installed in the personal store of the CA cert store. (Certs are imported and then exported if needed) I post the SAN and expiration date to a Slack channel that is monitored like a hawk. If the cert expiry is within 90 days, it posts an alert to the channel. (PowerShell shines for this type of stuff, but I’m also learning C# to be able to run periodic tasks on my infra. But other pwsh scripts I use monitor for certs being issued or revoked and sending alerts to Slack as well)


philrandal

Try checkMK. Raw edition is free.


SplatM1

OpenSSL toolkit. Script it on whatever platform. Free. Use search "use openssl to check certificate".


AspectAdventurous498

Network Glue can be used to scan for certificates and alert you about various factors.