Matty9191 / ssl-cert-check

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

Version 4.14 is not able to trim white spaces from the lines given in a file. #122

Open ajaibsingh opened 2 years ago

ajaibsingh commented 2 years ago

Tried with:

ssl-cert-check  -f ./domain-list

It stuck at:

Host                               Status       Expires      Days
----------------------------------------------- ------------ ----
mydomain.com:443                   Expiring     Sep 15, 2022   13

Reason: 2nd line (mydomain2.com) in the domain list has white space at the end.

cat ./domain-list 
mydomain.com 443
mydomain2.com 443 
someotherdomain.com 443

After removing the space it works fine.

Not a big issue, but takes time to identify.