1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/uri
Matt Martz 8bd4e2a144 cert validation fixes - Attempt 2 (#55953)
* Attempt 2 of cert validation fixes

* Remove unused code

* Cleanup the tmp cert using atexit

* Fix linting issues

* Only add SSLValidationHandler when not HAS_SSLCONTEXT

* Catch value errors on non PEM certs

* Only catch NotImplementedError to avoid masking issues

* set self._context even with PyOpenSSLContext for conformity

* Fix error building

* normalize how we interact with the context we create

* Remove unused code

* Address test for py3.7 message difference

* open_url should pass the ca_path through

* Account for new error in url lookup test

* Guard some code behind whether or not we are validating certs

* Make _make_context public

* Move atexit.register up to where the tmp file is created
2019-05-31 16:35:25 -04:00
..
files Update requirements for urllib3 for python 2.6. 2018-10-16 14:08:46 -07:00
meta Fix integration tests to support remote hosts. 2019-01-24 19:57:04 -08:00
tasks cert validation fixes - Attempt 2 (#55953) 2019-05-31 16:35:25 -04:00
templates Fix some TODOs to use generic_urlparse which allows proper netrc selection. Fixes #34360 (#34372) 2018-01-03 09:52:56 -06:00
vars Fix uri integration test uninstall of urllib3. (#53834) 2019-03-14 21:52:03 -07:00
aliases Add shippable/posix/group4/ for CI. (#53816) 2019-03-15 07:25:37 -07:00