Matty9191 / ssl-cert-check

Send notifications when SSL certificates are about to expire.
GNU General Public License v2.0
736 stars 289 forks source link

HOST variable exists in my OS (OpenSUSE) #94

Open jeremydelattre59 opened 4 years ago

jeremydelattre59 commented 4 years ago

Hello, In my OS (OpenSUSE), HOST variable exists and contains hostname. So, systematically, your script attempt to read certificate on HOST:443. I resolved this problem with defined HOST="" at the top

Can you add initailization of this variable? (perhaps do the same for PORT ?!?)

Regards, Jeremy

Matty9191 commented 4 years ago

Thanks for the feedback. I will initialize and validate these variables during the next release.