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/get_url
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 Implement part of #27617 [expend checksum format to <algorithm>:(<checksum>|<url>)] (#43751) 2018-08-24 12:45:32 -04: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
aliases Update Shippable integration test groups. (#43118) 2018-07-23 20:46:22 -07:00