title: How can I install the SSL certificates in a virtual environment in Python on a Mac?
body: <p>When I try to make a request to some urls, I get an SSLError. I think it is because I didn't install the right certificates in my Python3.9 virtual environment.
  This is my code:</p>
  <pre class="lang-py prettyprint-override"><code>import requests
  
  url = &quot;https://survey.unibz.it/opinio/s?s=12131&quot;
  
  r = requests.get(url)
  print(r)
  </code></pre>
  <p>tjos os my<a href="https://i.stack.imgur.com/krQLz.png" rel="nofollow noreferrer">my file structure</a>
  <a href="https://i.stack.imgur.com/s8iBR.jpg" rel="nofollow noreferrer">the error I get</a></p>