Help us understand the problem. What is going on with this article?

macOSのPython環境にてCERTIFICATE_VERIFY_FAILEDが発生した場合の対処メモ

More than 1 year has passed since last update.

新しく調達したMacにてAdwords APIを実行しようとしたところ、以下のようなエラーが返ってきました。実行環境はPython3.7。
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

しばらく闘った結果、stack overflowの以下の投稿内容で解決できました。
https://stackoverflow.com/questions/42098126/mac-osx-python-ssl-sslerror-ssl-certificate-verify-failed-certificate-verify/42098127#42098127

どうやらmacOS用のPython.org公式インストーラでのみ発生する、ルート証明書の参照にまつわるエラーだったようです。
https://qiita.com/orangain/items/0a641d980019fd7e0c52

被害者が増えないようにメモ。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした