For Linux Python3.6, this worked for me.
from command line install pyopenssl and certifi
sudo pip3 install -U pyopenssl
sudo pip3 install certifi
and in my python3 script, added verify='/usr/lib/python3.6/site-packages/certifi/cacert.pem' like this:
import requests
from requests.auth import HTTPBasicAuth
import certifi
auth = HTTPBasicAuth('username', 'password')
body = {}
r = requests.post(url='https://your_url.com', data=body, auth=auth, verify='/usr/lib/python3.6/site-packages/certifi/cacert.pem')