-
Notifications
You must be signed in to change notification settings - Fork 12
Update tasks to use cert_info plugin #163
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
Conversation
|
Tasks have been updated to use cert_info plugin in:
I verified the renewing mechanism in the Elasticsearch role and Kibana role. I'm still checking why I can't get the mechanism to work in the Logstash role, but the plugin and the task itself are working fine. I will double check one more time. It'll be ready for review on Friday. |
|
Please note, that we have to use different formats for certificates with the different tools. Logstash for example forces us to use PKCS8 certificates. And there's a bug that doesn't allow to use passwords with all the certificates. So some are encrypted and some aren't. :-( |
|
The task which checks the not_valid_after date in the Logstash role uses a .p12 certificate. The module can check that date. I think I found a minor bug, because the logstash role won't copy the .p12 to the I copied the certificate from /opt/es-ca/ to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on existing nps-elaszic (centos 8), works like a charm!
|
@danopt Thank you very much for this notice. You are right. I have fixed it.
|
|
Tested on existing nps elastic - failed on beats role |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beats role missing
|
My central systems seem to lack a python cryptography module. Maybe they are too old (CentOS 7). Newer systems where I tested, failed - all of them are hosts with only beats. |
|
I just checked. The required |
|
@dnssmr beat role is missing or failed on beat role? Can you please post the Error, thanks |
This package should be installed using pip not through package manager. I would like to write this as requirement in the README, What do you think? Can you please install the cryptography and test it? |
Was the beat problem on this cluster? |
Yes, I'll install it and test. Anyway, would really love it to work with with packages alone. But that's not a reason to force users to. We can just write it into the dependencies, you're right |
Fixes NETWAYS#161. Update certificate handling tasks and docs --------- Co-authored-by: Afeef Ghannam <39904920+afeefghannam89@users.noreply.github.com> Co-authored-by: Afeef Ghannam <afeef.ghannam@netways.de>
Fixes #161. Update certificate handling tasks and docs