dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.54k stars 457 forks source link

tls: fix typo, use clientCertSearchPath for clientcert.pem #940

Closed rbbratta closed 1 year ago

rbbratta commented 2 years ago

clientcert.pem is located in /etc/pki/libvirt/clientcert.pem as per https://www.libvirt.org/tlscerts.html

Fixes

level=error msg="Error: failed to dial libvirt: can't locate resource 'clientcert.pem' in [/home/kni/.pki/libvirt /etc/pki/libvirt/private]: file does not exist"
dmacvicar commented 1 year ago

Thanks for the patch @rbbratta