How to SSL Cert Check using open source.

Hello,

I would like to know how to implement ssl-cert-check from ssl-cert-check

I do have a windows box at work. Can i create it through Cygwin ?

Or what Linux flavor can i use ? Thoughts ?

Thanks for your help.
namergSystems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dmitri FarafontovLinux Systems AdminCommented:
Any Linux flavour would work well. I recommend you start with Ubuntu. Download a Desktop edition and it has the UI.
2
namergSystems AdministratorAuthor Commented:
Thanks but do you know how to implement it and eventually create a cron job to spit the SSL Certs that are going to expire ? Thanks
0
Dmitri FarafontovLinux Systems AdminCommented:
You can setup something like Nagios (https://www.nagios.org/projects/nagios-core) to automate the monitoring etc...What do you mean by implement? You can simply put it on a cron and run it as such, this is just a bash script.
0
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

namergSystems AdministratorAuthor Commented:
That is my problem "simply do this on Linux"
0
Dmitri FarafontovLinux Systems AdminCommented:
You can install it into a VMware Workstation or Virtual Box.

Or if you have Windows 10OS you use something like this:
https://msdn.microsoft.com/en-us/commandline/wsl/about

How do you wish to proceed?
1
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
I'm with the above comments. If you run Windows + VirtualBox or Cygwin you've set yourself up for a massive amount of unnecessary work. Then each time you ask for assistance with any problem, you first have to decode your runtime environment, to ensure the problem isn't with your default setup.

Just lease a monthly VPS or use https://ovh.com for dirt cheap + high performance physical machines.
0
Dmitri FarafontovLinux Systems AdminCommented:
Plus one from me on OVH.
0
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Hah! Recently I took on a new hosting client + dropped their monthly hardware bill from $2K/month to $200/month with massively faster hardware. I should be on the OVH payroll as must as I pump their biz. :)
0
namergSystems AdministratorAuthor Commented:
I do have windows 7 though.
0
Dmitri FarafontovLinux Systems AdminCommented:
You can use Virtual Box or VMware Workstation in that case to install a virtual machine with Ubuntu on it.
0
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
When you setup an SSL cert, this relates to a public site on a public IP, resolvable via DNS.

You're saying you have some machine deployed at a hosting company running Windows 7, which you're using to host your site?
0
namergSystems AdministratorAuthor Commented:
The problem is that SolarWinds does not have an alert for SSL Certs that are going to expire. It does monitor them though. So, I was googling and found the ssl-check open source.
0
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
I guess this is important for old style SSL setups.

Using https://LetsEncrypt.org means SSL certs are setup once + forget forever.

After using LE for so long, sometimes I forget.

With the script you mentioned first, so long as you have a minimal GNU system + recent version of OpenSSL, likely the script will work.

Might even work with no modifications with Cygwin. Since you're running Windows, I'd just install Cygwin + your script + do some testing.

You will require the openssl executable somewhere in your path, for the script to work.
1
Dmitri FarafontovLinux Systems AdminCommented:
1
namergSystems AdministratorAuthor Commented:
Yes it does monitor but does not have alerting.
0
Dmitri FarafontovLinux Systems AdminCommented:
Have you actually consulted with this AdminGuide:
http://www.solarwinds.com/documentation/vMan/docs/html/en-US/wwhelp/wwhimpl/js/html/wwhelp.htm?CMPSource=THW&CMP=REFDOM

Maybe worth reaching out to SolarWinds support to see if they can get the email alerts going for you.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.