FAILED! => {"changed": false, "msg": "failed to fetch key at , error was: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)>"}
- name: Upgrade packages
yum: name: '*' state: latest security: yes bugfix: yes
pythonPython 2.7.5 (default, Aug  7 2019, 00:51:29)[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import requestsr>>> r = requests.get('')Traceback (most recent call last):File "<stdin>", line 1, in <module>File "/usr/lib/python2.7/site-packages/requests/", line 68, in getreturn request('get', url, **kwargs)File "/usr/lib/python2.7/site-packages/requests/", line 50, in requestresponse = session.request(method=method, url=url, **kwargs)File "/usr/lib/python2.7/site-packages/requests/", line 486, in requestresp = self.send(prep, **send_kwargs)File "/usr/lib/python2.7/site-packages/requests/", line 598, in sendr = adapter.send(request, **kwargs)File "/usr/lib/python2.7/site-packages/requests/", line 431, in sendraise SSLError(e, request=request)requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)
pythonPython 2.7.5 (default, Nov 16 2020, 22:23:17)[GCC 4.8.5 20150623 (Red Hat 4.8.5–44)] on linux2Type “help”, “copyright”, “credits” or “license” for more information.>>> import requestsr>>> r = requests.get(‘')>>>KeyboardInterrupt>>>




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Spring & Hibernate Interview Questions

What are you hiring your code to do for you?

Converting a Jupyter Notebook to Pdf

Typing 960 WPM

B-method, a safe approach to software

rtlambda — A simple performant and extensible runtime for Rust Lambda applications.

A Simple DNS OOB exfil solution, or (life)hack

How to Implement Sign in with Apple Easily on iOS Apps

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pedro Gomes

Pedro Gomes

More from Medium

Introduction to GIT 👨‍💻👩‍💻

Snake JARs, Part I: Hidden log4j Dependencies in Python Packages

Histogram of log4j JAR file frequency in Python PyPI packages

Let’s use Git(Version Control) to suit each occasion.😉 (part-1)

Running E2E tests in a Dockerized Environment