[Docs]: Update validate_certs documentation to include CA path option #803
Replies: 4 comments 2 replies
-
Have you checked out the |
Beta Was this translation helpful? Give feedback.
-
If I set the cert option instead to the CA path, and just validate_certs to yes, I still get the "Failed to establish connection to Netbox API" error. I thought the cert option was more for a client side certificate, not the CA path, please forgive if I'm misunderstanding. |
Beta Was this translation helpful? Give feedback.
-
Changing this issue to a discussion since it appears to fit better. |
Beta Was this translation helpful? Give feedback.
-
@thebaltimorefootstomper How did you set the CA cert then to get it working? Did you adjust some of the code manually? |
Beta Was this translation helpful? Give feedback.
-
Change Type
Addition
Area
Configuration parameters
Proposed Changes
In the latest documentation I'm seeing for the Netbox Ansible Collection, at least for the VLAN module, the validate_certs
parameter in the documentation only includes the options yes or no. However, looking at the underlying Python requests module and from my testing, there is also an option to specify the path to the CA bundle file, which in my case was required to get the validate_certs option to work. With just yes, I would get the generic "Failed to establish connection to Netbox API" error.
Beta Was this translation helpful? Give feedback.
All reactions