Upgrading from python 2.7.8 to 2.7.10 causes me these errors with using 
CAS. This is with web2py 2.12.3 and 2.13.1 
On Windows Server 2008 R2. 


Version:0.9 StartHTML:00000241 EndHTML:00000446 StartFragment:00000275 
EndFragment:00000410 
SourceURL:https://mmcserver.vci.com.au:8040/admin/default/ticket/commission/127.0.0.1.2015-12-21.22-51-22.921a24aa-38c5-4b99-a716-33f09dbf1484
 
<type 'exceptions.IOError'> [Errno socket error] [SSL: 
CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

Modules are built with standard python package management (pip). 


Full trace is:

Version:0.9 StartHTML:00000241 EndHTML:00010123 StartFragment:00000275 
EndFragment:00010087 
SourceURL:https://mmcserver.vci.com.au:8040/admin/default/ticket/commission/127.0.0.1.2015-12-21.22-51-22.921a24aa-38c5-4b99-a716-33f09dbf1484
 


  File "e:\web2py\web2py_intranet\gluon\restricted.py", line 227, in restricted
    exec ccode in environment
  File 
"e:/web2py/web2py_intranet/applications/commission/controllers/default.py" 
<https://mmcserver.vci.com.au:8040/admin/default/edit/commission/controllers/default.py>,
 line 416, in <module>
  File "e:\web2py\web2py_intranet\gluon\globals.py", line 412, in <lambda>
    self._caller = lambda f: f()
  File 
"e:/web2py/web2py_intranet/applications/commission/controllers/default.py" 
<https://mmcserver.vci.com.au:8040/admin/default/edit/commission/controllers/default.py>,
 line 42, in user
    return dict(form=auth())
  File "e:\web2py\web2py_intranet\gluon\tools.py", line 1923, in __call__
    return getattr(self, args[0])()
  File "e:\web2py\web2py_intranet\gluon\tools.py", line 3029, in login
    redirect(cas.login_url(next),
  File "e:\web2py\web2py_intranet\gluon\contrib\login_methods\cas_auth.py", 
line 66, in login_url
    current.session.token = self._CAS_login()
  File "e:\web2py\web2py_intranet\gluon\contrib\login_methods\cas_auth.py", 
line 98, in _CAS_login
    data = urllib.urlopen(url).read()
  File "E:\Python27_32\lib\urllib.py", line 87, in urlopen
    return opener.open(url)
  File "E:\Python27_32\lib\urllib.py", line 213, in open
    return getattr(self, name)(url)
  File "E:\Python27_32\lib\urllib.py", line 443, in open_https
    h.endheaders(data)
  File "E:\Python27_32\lib\httplib.py", line 1049, in endheaders
    self._send_output(message_body)
  File "E:\Python27_32\lib\httplib.py", line 893, in _send_output
    self.send(msg)
  File "E:\Python27_32\lib\httplib.py", line 855, in send
    self.connect()
  File "E:\Python27_32\lib\httplib.py", line 1274, in connect
    server_hostname=server_hostname)
  File "E:\Python27_32\lib\ssl.py", line 352, in wrap_socket
    _context=self)
  File "E:\Python27_32\lib\ssl.py", line 579, in __init__
    self.do_handshake()
  File "E:\Python27_32\lib\ssl.py", line 808, in do_handshake
    self._sslobj.do_handshake()
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed (_ssl.c:590)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to