I am trying to allow my Ansible controller to connect to my ServiceNow 
instance through an HTTP proxy using the "snow_record" and 
"snow_record_find" modules.  I am running Ansible v2.9.10 with the Python 
"pysnow" v0.7.16 package and am unable to find a work around for the 
following SSL verification error:

=======================================
"msg": "Failed to update record: 
HTTPSConnectionPool(host='myinstance.service-now.com', port=443): Max 
retries exceeded with url: 
/api/now/table/sys_user?sysparm_query=sys_id%3D65316bf03710200004e0bfc8bcbe5ea3 
(Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:852)'),))"
=======================================

I attempted to use the "validate_certs" option in the task hoping that it 
was an undocumented option for these modules, but that wasn't the case.

I am successfully able to connect to this same ServiceNow instance using 
the "uri" module through the proxy without an issue (while using the 
"validate_certs" option), but would much rather utilize the capabilities 
already available in the ServiceNow modules (snow_record, snow_record_find, 
etc.) if possible.  Any help or information that can be provided regarding 
this issue would be greatly appreciated.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ab926850-042b-4b51-8637-f29416363f70n%40googlegroups.com.

Reply via email to