Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron job don't filter "Server certificates" #2

Open
tuxmaster5000 opened this issue May 10, 2021 · 0 comments
Open

Cron job don't filter "Server certificates" #2

tuxmaster5000 opened this issue May 10, 2021 · 0 comments

Comments

@tuxmaster5000
Copy link

On CentOS8 the list of certificates will contains the line "Server certificates:"
httpd -t -DDUMP_CERTS 2>/dev/null | /bin/sort -u
will return:

/etc/pki/tls/certs/localhost.crt
/etc/pki/tls/certs/web
Server certificates:

And as an site effect every line will contains spaces before the /.
So I think before call the c program an bash test for file exits and remove the spaces are required.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant