[MacPorts] #55908: python27 @2.7.14: urlopen() with HTTPS fails with CERTIFICATE_VERIFY_FAILED

MacPorts noreply at macports.org
Wed Feb 28 15:00:58 UTC 2018


#55908: python27 @2.7.14: urlopen() with HTTPS fails with CERTIFICATE_VERIFY_FAILED
-----------------------+----------------------
 Reporter:  artmatsak  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.2
 Keywords:             |       Port:  python27
-----------------------+----------------------
 macOS High Sierra 10.13.3. Running the simple Python script below fails
 with the {{{ CERTIFICATE_VERIFY_FAILED }}} error. It doesn't matter what
 URL is used as long as it's an HTTPS one.

 {{{
 from urllib2 import urlopen
 urlopen('https://www.google.com/').read()
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55908>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list