web2py 2.11.2 

Ok so I only need the CA to be validated. 

Providing the path to the CA file like:

DAL("mysql://remoteuser:password@remotedbserver/database", 
driver_args={'ssl':{'ca':'path/to/ca/file'}})

I get
"/path/to/web2py/gluon/contrib/pymysql/connections.py", line 822, in 
_send_authentication self.socket = ssl.wrap_self.socketet(self.socket, 
keyfile=self.key, AttributeError: 'module' object has no attribute 
'wrap_self'

I know this was asked before, but there was no comment given on that, other 
than to work around it via SSH tunnel.

Not an alternative in my case, long story.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/ea10033e-6e26-42d4-bd9b-5d156ca1104fn%40googlegroups.com.

Reply via email to