title: Python ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)
body: <p>I'm using <code>[geopy][1]</code> in a <code>Python 3.6</code> application and I have to run it on an outdated machine that uses <code>Windows 2012 Server</code>. The problem arises when from the application this library is called on this server since it returns the following error:</p>
  
  <pre><code>File "C:\ServAPI\Util.py", line 12, in getLocation
  location = geolocator.geocode(name)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\geopy\geocoders\osm.py", line 193, in geocode
  self._call_geocoder(url, timeout=timeout), exactly_one
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\geopy\geocoders\base.py", line 171, in _call_geocoder
  raise GeocoderServiceError(message)
  geopy.exc.GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)
  </code></pre>
  
  <p>How can I fix this problem? I am running <code>Python 3.6.0</code> on <code>Windows 2012 Server</code></p>
  
  <p><strong>UPDATE</strong> </p>
  
  <p>The code is the next:</p>
  
  <pre><code>from geopy.geocoders import Nominatim
  from geopy.exc import GeocoderTimedOut
  def getLocation(name):
      geolocator = Nominatim()
      try:
          location = geolocator.geocode(name, timeout=5)
          return location
      except GeocoderTimedOut as e:
          print("Error: geocode failed on input %s with message %s" % (e.msg))
  </code></pre>