Specify CA file for httpapi connection plugin

4 views
Skip to first unread message

Roman Dodin

unread,
Mar 21, 2023, 1:43:34 PMMar 21
to Ansible Development

Hi all,

for an httpapi connection plugin is there a way to specify a path to the ca.pem file to validate client certificate?
I see options to use_ssl and ansible_httpapi_validate_certs, but nothing that enables me to set a path to a custom CA file to validate certs.

With curl cacert option does it:

curl -s --cacert ./clab-srl01/ca/root/root-ca.pem https://...
And with requests it is "verify" - https://requests.readthedocs.io/en/latest/user/advanced/#ssl-cert-verification

Roman Dodin

unread,
Mar 21, 2023, 3:51:35 PMMar 21
to Ansible Development
I got an answer from ansible networking team that this is not currently supported. 
Reply all
Reply to author
Forward
0 new messages