-
Notifications
You must be signed in to change notification settings - Fork 169
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
delegate_to leads to SSL verification error #1611
Comments
I'm using As it's working for me, couple of questions
|
Thanks for looking into this!
The local controller node, which is a plain RHEL 8.7. Not running in an execution environment, so it is really referring to that machine.
It's the same as with
It's the same in both cases |
I cannot reproduce this issue anymore with the latest release. Either it was an issue on my end or it was unknowingly fixed with later version |
I know, this is an old issue. For anybody stumbling on this issue, I finally managed to reproduce it. This can be fixed with: https://stackoverflow.com/questions/34931378/certificate-verification-when-using-virtual-environments |
Thanks for tracking this down! |
SUMMARY
Using
delegate_to
in a task with any theforeman.foreman.* module leads to SSL connection issues:Verification of the SSL connection using
openssl s_client -connect -showcerts host.example.com </dev/null
validates perfectly:ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION
KATELLO/FOREMAN VERSION
STEPS TO REPRODUCE
As
theforeman.foreman.scap_content
needsscap_file
, I need to delegate to localhost as the files only will be temporarily downloaded to/tmp
and afterwards removed of the control node.Note: I am not running in an execution environment, still using
ansible-playbook
EXPECTED RESULTS
SCAP contents are created
ACTUAL RESULTS
SSL verification fails. This is only observed when using
delegate_to
. As seen above, the SSL connection validated successfully, though.The text was updated successfully, but these errors were encountered: