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

VM provisioning failing with ssl error #410

Open
vivek076 opened this issue Nov 14, 2021 · 2 comments
Open

VM provisioning failing with ssl error #410

vivek076 opened this issue Nov 14, 2021 · 2 comments

Comments

@vivek076
Copy link

This is the error:

TASK [Get Appliance files to allow virt-customize on RHEL hypervisors] ********************************************************************************************************************************************
fatal: [hypervisor]: FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for download.libguestfs.org:443. Make sure your managed systems have a valid CA certificate installed. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible. The exception msg was: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)."}
@dsedgmen
Copy link

dsedgmen commented Dec 3, 2021

Try updating ca-certificates.noarch.
I checked the url with curl and it worked, but using openssl s_client show the root CA was expired.
updating the ca trust bundle revolved the expired root CA.
Now trying again with infrared virsh

@dsedgmen
Copy link

dsedgmen commented Dec 3, 2021

That fixed it for me

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

2 participants