Using mac os python3.6 to connect ssl will occur urllib.error.URLError. It requires a post-install step, which installs the certifi
package of certificates. The solution is:
1. Find /Applications/Python\\ 3.6/Install\\ Certificates.command
2. Run it, then it is OK