Open dincho opened 1 month ago
I'm having this same issue once I update to a newer execution environment. I'm running AWX 23.7.0
.
More details in my forum post, but essentially I'm seeing:
2.12
: works2.17
: does not workI've tried the latest community-ee as well, which also does not work.
We've been able to resolve this by updating the signature algorithm from ssh-rsa
to ssh-rsa2-256
or ssh-rsa2-512
.
ssh-rsa
is no longer supported by openssl.
Please confirm the following
security@ansible.com
instead.)Bug Summary
Try to use machine credentials with SSH certificate for authentication, but the certificate didn't seems to be included in the job runner during execution: Of course I triple checked that the key and certificate works find outside of AWX.
AWX version
24.6.1
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
I've created a machine credentials with SSH private key and signed certificate:
Then used that credentials in a job template that I've run.
Expected results
I'm using AWX for the first time, so I'm not sure if my exceptions are correct, but I've found an old PR that shows an output with both the private key and certificate log lines in the job output
Actual results
And of course the playbook authentication fails because of missing certificate in the ssh-agent.
Additional information
Please let me know if this needs further debugging to help find the cause.